@keystrokehq/mixpanel 0.1.2 → 0.1.4
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/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 +22 -5
- 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 +22 -5
- 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 +3 -3
- package/dist/actions/aggregate-events.cjs.map +1 -1
- package/dist/actions/aggregate-events.d.cts +20 -4
- package/dist/actions/aggregate-events.d.mts +20 -4
- package/dist/actions/aggregate-events.mjs +3 -3
- package/dist/actions/aggregate-events.mjs.map +1 -1
- package/dist/actions/aggregated-event-property-values.cjs +2 -2
- package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
- package/dist/actions/aggregated-event-property-values.d.cts +19 -3
- package/dist/actions/aggregated-event-property-values.d.mts +19 -3
- package/dist/actions/aggregated-event-property-values.mjs +2 -2
- package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
- package/dist/actions/cohorts-list.cjs +2 -2
- package/dist/actions/cohorts-list.cjs.map +1 -1
- package/dist/actions/cohorts-list.d.cts +19 -3
- package/dist/actions/cohorts-list.d.mts +19 -3
- package/dist/actions/cohorts-list.mjs +2 -2
- package/dist/actions/cohorts-list.mjs.map +1 -1
- package/dist/actions/create-annotation-tag.cjs +1 -1
- package/dist/actions/create-annotation-tag.cjs.map +1 -1
- package/dist/actions/create-annotation-tag.d.cts +18 -2
- package/dist/actions/create-annotation-tag.d.mts +18 -2
- package/dist/actions/create-annotation-tag.mjs +1 -1
- 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 -2
- package/dist/actions/create-identity.d.mts +18 -2
- package/dist/actions/create-identity.mjs +1 -1
- package/dist/actions/create-identity.mjs.map +1 -1
- package/dist/actions/create-service-account.cjs +3 -3
- package/dist/actions/create-service-account.cjs.map +1 -1
- package/dist/actions/create-service-account.d.cts +21 -4
- package/dist/actions/create-service-account.d.mts +21 -4
- package/dist/actions/create-service-account.mjs +3 -3
- 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 +18 -2
- package/dist/actions/delete-group.d.mts +18 -2
- 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 +20 -3
- package/dist/actions/delete-profile-batch.d.mts +20 -3
- 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 +18 -2
- package/dist/actions/delete-profile-property.d.mts +18 -2
- 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 +18 -2
- package/dist/actions/delete-profile.d.mts +18 -2
- 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 +19 -3
- package/dist/actions/get-all-projects.d.cts.map +1 -1
- package/dist/actions/get-all-projects.d.mts +19 -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 +2 -2
- package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.d.cts +19 -3
- package/dist/actions/get-annotation-tags-alt1.d.mts +19 -3
- package/dist/actions/get-annotation-tags-alt1.mjs +2 -2
- package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
- package/dist/actions/group-batch-update.cjs +3 -3
- package/dist/actions/group-batch-update.cjs.map +1 -1
- package/dist/actions/group-batch-update.d.cts +22 -5
- package/dist/actions/group-batch-update.d.mts +22 -5
- package/dist/actions/group-batch-update.mjs +3 -3
- package/dist/actions/group-batch-update.mjs.map +1 -1
- package/dist/actions/group-delete-property.cjs +1 -1
- package/dist/actions/group-delete-property.cjs.map +1 -1
- package/dist/actions/group-delete-property.d.cts +18 -2
- package/dist/actions/group-delete-property.d.mts +18 -2
- package/dist/actions/group-delete-property.mjs +1 -1
- 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 +18 -2
- package/dist/actions/identity-create-alias.d.mts +18 -2
- 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 +18 -2
- package/dist/actions/jql-query.d.cts.map +1 -1
- package/dist/actions/jql-query.d.mts +18 -2
- 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 +2 -2
- package/dist/actions/list-funnels.cjs.map +1 -1
- package/dist/actions/list-funnels.d.cts +19 -3
- package/dist/actions/list-funnels.d.mts +19 -3
- package/dist/actions/list-funnels.mjs +2 -2
- package/dist/actions/list-funnels.mjs.map +1 -1
- package/dist/actions/list-service-accounts.cjs +2 -2
- package/dist/actions/list-service-accounts.cjs.map +1 -1
- package/dist/actions/list-service-accounts.d.cts +19 -3
- package/dist/actions/list-service-accounts.d.mts +19 -3
- package/dist/actions/list-service-accounts.mjs +2 -2
- 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 +20 -3
- package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.mts +20 -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 +5 -5
- package/dist/actions/profile-batch-update.cjs.map +1 -1
- package/dist/actions/profile-batch-update.d.cts +25 -8
- package/dist/actions/profile-batch-update.d.mts +25 -8
- package/dist/actions/profile-batch-update.mjs +5 -5
- package/dist/actions/profile-batch-update.mjs.map +1 -1
- package/dist/actions/profile-event-activity.cjs +4 -4
- package/dist/actions/profile-event-activity.cjs.map +1 -1
- package/dist/actions/profile-event-activity.d.cts +21 -5
- package/dist/actions/profile-event-activity.d.mts +21 -5
- package/dist/actions/profile-event-activity.mjs +4 -4
- 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 +20 -4
- package/dist/actions/profile-numerical-add.d.cts.map +1 -1
- package/dist/actions/profile-numerical-add.d.mts +20 -4
- 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 +20 -3
- package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.mts +20 -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 +18 -2
- package/dist/actions/profile-set.d.cts.map +1 -1
- package/dist/actions/profile-set.d.mts +18 -2
- 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 +19 -3
- package/dist/actions/query-frequency-report.d.mts +19 -3
- 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 +20 -4
- package/dist/actions/query-funnel.d.mts +20 -4
- package/dist/actions/query-funnel.mjs +3 -3
- package/dist/actions/query-funnel.mjs.map +1 -1
- package/dist/actions/query-insight.cjs +3 -3
- package/dist/actions/query-insight.cjs.map +1 -1
- package/dist/actions/query-insight.d.cts +20 -4
- package/dist/actions/query-insight.d.mts +20 -4
- package/dist/actions/query-insight.mjs +3 -3
- package/dist/actions/query-insight.mjs.map +1 -1
- package/dist/actions/query-numeric-average.cjs +2 -2
- package/dist/actions/query-numeric-average.cjs.map +1 -1
- package/dist/actions/query-numeric-average.d.cts +19 -3
- package/dist/actions/query-numeric-average.d.mts +19 -3
- package/dist/actions/query-numeric-average.mjs +2 -2
- package/dist/actions/query-numeric-average.mjs.map +1 -1
- package/dist/actions/query-numeric-sum.cjs +2 -2
- package/dist/actions/query-numeric-sum.cjs.map +1 -1
- package/dist/actions/query-numeric-sum.d.cts +19 -3
- package/dist/actions/query-numeric-sum.d.mts +19 -3
- package/dist/actions/query-numeric-sum.mjs +2 -2
- package/dist/actions/query-numeric-sum.mjs.map +1 -1
- package/dist/actions/query-profiles.cjs +3 -3
- package/dist/actions/query-profiles.cjs.map +1 -1
- package/dist/actions/query-profiles.d.cts +21 -5
- package/dist/actions/query-profiles.d.cts.map +1 -1
- package/dist/actions/query-profiles.d.mts +21 -5
- package/dist/actions/query-profiles.d.mts.map +1 -1
- package/dist/actions/query-profiles.mjs +3 -3
- 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 +19 -3
- package/dist/actions/query-retention-report.d.mts +19 -3
- 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 +3 -3
- package/dist/actions/query-segmentation.cjs.map +1 -1
- package/dist/actions/query-segmentation.d.cts +20 -4
- package/dist/actions/query-segmentation.d.mts +20 -4
- package/dist/actions/query-segmentation.mjs +3 -3
- package/dist/actions/query-segmentation.mjs.map +1 -1
- package/dist/actions/query-top-events.cjs +2 -2
- package/dist/actions/query-top-events.cjs.map +1 -1
- package/dist/actions/query-top-events.d.cts +19 -3
- package/dist/actions/query-top-events.d.mts +19 -3
- package/dist/actions/query-top-events.mjs +2 -2
- 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 +20 -3
- package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.mts +20 -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 +18 -2
- package/dist/actions/remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-list-property.d.mts +18 -2
- 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 +19 -3
- package/dist/actions/segmentation-numeric-query.d.mts +19 -3
- 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 +18 -2
- package/dist/actions/set-group-property-once.d.cts.map +1 -1
- package/dist/actions/set-group-property-once.d.mts +18 -2
- 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 +18 -2
- package/dist/actions/set-profile-property-once.d.cts.map +1 -1
- package/dist/actions/set-profile-property-once.d.mts +18 -2
- 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.d.cts +17 -1
- package/dist/actions/top-event-properties.d.mts +17 -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 +18 -2
- package/dist/actions/top-event-property-values.d.mts +18 -2
- 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 +18 -2
- package/dist/actions/top-events.d.mts +18 -2
- 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 +22 -5
- package/dist/actions/update-group-list-property.d.cts.map +1 -1
- package/dist/actions/update-group-list-property.d.mts +22 -5
- 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/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +11 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +11 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +7 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteGroupInput = z.object({\n time: z.number().int().describe(\"Unix timestamp in milliseconds for when the deletion should be recorded. If not provided, current time is used.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token for authentication.\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to permanently delete. This is the only parameter that determines which group profile is deleted.\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team'). This identifies the type of group being deleted.\"),\n}).describe(\"Request model for deleting a group profile from Mixpanel.\");\nexport const MixpanelDeleteGroupOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, otherwise null.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group profile deletion.\");\n\nexport const mixpanelDeleteGroup = action(\"MIXPANEL_DELETE_GROUP\", {\n slug: \"mixpanel-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to permanently delete a group profile from Mixpanel Group Analytics. Use when you need to completely remove a group profile and all of its properties. The deletion is permanent and cannot be undone. Note that group properties on historical events remain intact even after group deletion.\",\n input: MixpanelDeleteGroupInput,\n output: MixpanelDeleteGroupOutput,\n});\n"],"mappings":";;AAeA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EAC5J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CACjK,CAAC,CAAC,CAAC,SAAS,2DAUH;CACP,QAVuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteGroupInput = z.object({\n time: z.number().int().describe(\"Unix timestamp in milliseconds for when the deletion should be recorded. If not provided, current time is used.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token for authentication.\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to permanently delete. This is the only parameter that determines which group profile is deleted.\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team'). This identifies the type of group being deleted.\"),\n}).describe(\"Request model for deleting a group profile from Mixpanel.\");\nexport const MixpanelDeleteGroupOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, otherwise null.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group profile deletion.\");\n\nexport const mixpanelDeleteGroup = action(\"MIXPANEL_DELETE_GROUP\", {\n slug: \"mixpanel-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to permanently delete a group profile from Mixpanel Group Analytics. Use when you need to completely remove a group profile and all of its properties. The deletion is permanent and cannot be undone. Note that group properties on historical events remain intact even after group deletion.\",\n input: MixpanelDeleteGroupInput,\n output: MixpanelDeleteGroupOutput,\n});\n"],"mappings":";;AAeA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EAC5J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CACjK,CAAC,CAAC,CAAC,SAAS,2DAUH;CACP,QAVuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -6,11 +6,11 @@ const MixpanelDeleteProfileBatchInput = zod.z.object({ profiles: zod.z.array(zod
|
|
|
6
6
|
"delete": zod.z.string().default("").describe("Set to empty string to delete the profile. This field must be present for deletion.").optional(),
|
|
7
7
|
distinct_id: zod.z.string().describe("Unique identifier for the user profile to permanently delete."),
|
|
8
8
|
ignore_alias: zod.z.boolean().describe("If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id.").optional()
|
|
9
|
-
}).describe("Model for a single profile delete operation in the batch.")).describe("List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.") }).describe("Request model for batch profile deletions.");
|
|
9
|
+
}).passthrough().describe("Model for a single profile delete operation in the batch.")).describe("List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.") }).describe("Request model for batch profile deletions.");
|
|
10
10
|
const MixpanelDeleteProfileBatchOutput = zod.z.object({
|
|
11
11
|
error: zod.z.string().describe("Error message if the request failed.").nullable().optional(),
|
|
12
12
|
status: zod.z.union([zod.z.number().int(), zod.z.string()])
|
|
13
|
-
}).describe("Response model for batch profile deletions.");
|
|
13
|
+
}).passthrough().describe("Response model for batch profile deletions.");
|
|
14
14
|
const mixpanelDeleteProfileBatch = require_action.action("MIXPANEL_DELETE_PROFILE_BATCH", {
|
|
15
15
|
slug: "mixpanel-delete-profile-batch",
|
|
16
16
|
name: "Delete Multiple Profiles (Batch)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-profile-batch.cjs","names":["z","action"],"sources":["../../src/actions/delete-profile-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfileBatchInput = z.object({\n profiles: z.array(z.object({\n token: z.string().describe(\"Project authentication token. Required for each profile deletion.\"),\n \"delete\": z.string().default(\"\").describe(\"Set to empty string to delete the profile. This field must be present for deletion.\").optional(),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to permanently delete.\"),\n ignore_alias: z.boolean().describe(\"If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id.\").optional(),\n}).describe(\"Model for a single profile delete operation in the batch.\")).describe(\"List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.\"),\n}).describe(\"Request model for batch profile deletions.\");\nexport const MixpanelDeleteProfileBatchOutput = z.object({\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).describe(\"Response model for batch profile deletions.\");\n\nexport const mixpanelDeleteProfileBatch = action(\"MIXPANEL_DELETE_PROFILE_BATCH\", {\n slug: \"mixpanel-delete-profile-batch\",\n name: \"Delete Multiple Profiles (Batch)\",\n description: \"Tool to permanently delete multiple user profiles from Mixpanel in a single batch request. Use when you need to delete multiple profiles efficiently. The deletion is permanent and cannot be undone. This only deletes the profiles, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.\",\n input: MixpanelDeleteProfileBatchInput,\n output: MixpanelDeleteProfileBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAChG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,CAAC,SAAS,0JAA0J,
|
|
1
|
+
{"version":3,"file":"delete-profile-batch.cjs","names":["z","action"],"sources":["../../src/actions/delete-profile-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfileBatchInput = z.object({\n profiles: z.array(z.object({\n token: z.string().describe(\"Project authentication token. Required for each profile deletion.\"),\n \"delete\": z.string().default(\"\").describe(\"Set to empty string to delete the profile. This field must be present for deletion.\").optional(),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to permanently delete.\"),\n ignore_alias: z.boolean().describe(\"If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id.\").optional(),\n}).passthrough().describe(\"Model for a single profile delete operation in the batch.\")).describe(\"List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.\"),\n}).describe(\"Request model for batch profile deletions.\");\nexport const MixpanelDeleteProfileBatchOutput = z.object({\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).passthrough().describe(\"Response model for batch profile deletions.\");\n\nexport const mixpanelDeleteProfileBatch = action(\"MIXPANEL_DELETE_PROFILE_BATCH\", {\n slug: \"mixpanel-delete-profile-batch\",\n name: \"Delete Multiple Profiles (Batch)\",\n description: \"Tool to permanently delete multiple user profiles from Mixpanel in a single batch request. Use when you need to delete multiple profiles efficiently. The deletion is permanent and cannot be undone. This only deletes the profiles, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.\",\n input: MixpanelDeleteProfileBatchInput,\n output: MixpanelDeleteProfileBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAChG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,CAAC,SAAS,0JAA0J,EAC3P,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,20 +7,37 @@ declare const MixpanelDeleteProfileBatchInput: z.ZodObject<{
|
|
|
7
7
|
delete: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
8
8
|
distinct_id: z.ZodString;
|
|
9
9
|
ignore_alias: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const MixpanelDeleteProfileBatchOutput: z.ZodObject<{
|
|
13
13
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
status: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const mixpanelDeleteProfileBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
profiles: {
|
|
18
|
+
[x: string]: unknown;
|
|
18
19
|
token: string;
|
|
19
20
|
distinct_id: string;
|
|
20
21
|
delete?: string | undefined;
|
|
21
22
|
ignore_alias?: boolean | undefined;
|
|
22
23
|
}[];
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
username: z.ZodString;
|
|
38
|
+
password: z.ZodString;
|
|
39
|
+
region: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
24
41
|
//#endregion
|
|
25
42
|
export { mixpanelDeleteProfileBatch };
|
|
26
43
|
//# sourceMappingURL=delete-profile-batch.d.cts.map
|
|
@@ -7,20 +7,37 @@ declare const MixpanelDeleteProfileBatchInput: z.ZodObject<{
|
|
|
7
7
|
delete: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
8
8
|
distinct_id: z.ZodString;
|
|
9
9
|
ignore_alias: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const MixpanelDeleteProfileBatchOutput: z.ZodObject<{
|
|
13
13
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
status: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const mixpanelDeleteProfileBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
profiles: {
|
|
18
|
+
[x: string]: unknown;
|
|
18
19
|
token: string;
|
|
19
20
|
distinct_id: string;
|
|
20
21
|
delete?: string | undefined;
|
|
21
22
|
ignore_alias?: boolean | undefined;
|
|
22
23
|
}[];
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
username: z.ZodString;
|
|
38
|
+
password: z.ZodString;
|
|
39
|
+
region: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
24
41
|
//#endregion
|
|
25
42
|
export { mixpanelDeleteProfileBatch };
|
|
26
43
|
//# sourceMappingURL=delete-profile-batch.d.mts.map
|
|
@@ -9,11 +9,11 @@ const mixpanelDeleteProfileBatch = action("MIXPANEL_DELETE_PROFILE_BATCH", {
|
|
|
9
9
|
"delete": z.string().default("").describe("Set to empty string to delete the profile. This field must be present for deletion.").optional(),
|
|
10
10
|
distinct_id: z.string().describe("Unique identifier for the user profile to permanently delete."),
|
|
11
11
|
ignore_alias: z.boolean().describe("If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id.").optional()
|
|
12
|
-
}).describe("Model for a single profile delete operation in the batch.")).describe("List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.") }).describe("Request model for batch profile deletions."),
|
|
12
|
+
}).passthrough().describe("Model for a single profile delete operation in the batch.")).describe("List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.") }).describe("Request model for batch profile deletions."),
|
|
13
13
|
output: z.object({
|
|
14
14
|
error: z.string().describe("Error message if the request failed.").nullable().optional(),
|
|
15
15
|
status: z.union([z.number().int(), z.string()])
|
|
16
|
-
}).describe("Response model for batch profile deletions.")
|
|
16
|
+
}).passthrough().describe("Response model for batch profile deletions.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { mixpanelDeleteProfileBatch };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-profile-batch.mjs","names":[],"sources":["../../src/actions/delete-profile-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfileBatchInput = z.object({\n profiles: z.array(z.object({\n token: z.string().describe(\"Project authentication token. Required for each profile deletion.\"),\n \"delete\": z.string().default(\"\").describe(\"Set to empty string to delete the profile. This field must be present for deletion.\").optional(),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to permanently delete.\"),\n ignore_alias: z.boolean().describe(\"If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id.\").optional(),\n}).describe(\"Model for a single profile delete operation in the batch.\")).describe(\"List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.\"),\n}).describe(\"Request model for batch profile deletions.\");\nexport const MixpanelDeleteProfileBatchOutput = z.object({\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).describe(\"Response model for batch profile deletions.\");\n\nexport const mixpanelDeleteProfileBatch = action(\"MIXPANEL_DELETE_PROFILE_BATCH\", {\n slug: \"mixpanel-delete-profile-batch\",\n name: \"Delete Multiple Profiles (Batch)\",\n description: \"Tool to permanently delete multiple user profiles from Mixpanel in a single batch request. Use when you need to delete multiple profiles efficiently. The deletion is permanent and cannot be undone. This only deletes the profiles, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.\",\n input: MixpanelDeleteProfileBatchInput,\n output: MixpanelDeleteProfileBatchOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO,EACtD,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAChG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,CAAC,SAAS,0JAA0J,
|
|
1
|
+
{"version":3,"file":"delete-profile-batch.mjs","names":[],"sources":["../../src/actions/delete-profile-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfileBatchInput = z.object({\n profiles: z.array(z.object({\n token: z.string().describe(\"Project authentication token. Required for each profile deletion.\"),\n \"delete\": z.string().default(\"\").describe(\"Set to empty string to delete the profile. This field must be present for deletion.\").optional(),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to permanently delete.\"),\n ignore_alias: z.boolean().describe(\"If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id.\").optional(),\n}).passthrough().describe(\"Model for a single profile delete operation in the batch.\")).describe(\"List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.\"),\n}).describe(\"Request model for batch profile deletions.\");\nexport const MixpanelDeleteProfileBatchOutput = z.object({\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).passthrough().describe(\"Response model for batch profile deletions.\");\n\nexport const mixpanelDeleteProfileBatch = action(\"MIXPANEL_DELETE_PROFILE_BATCH\", {\n slug: \"mixpanel-delete-profile-batch\",\n name: \"Delete Multiple Profiles (Batch)\",\n description: \"Tool to permanently delete multiple user profiles from Mixpanel in a single batch request. Use when you need to delete multiple profiles efficiently. The deletion is permanent and cannot be undone. This only deletes the profiles, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.\",\n input: MixpanelDeleteProfileBatchInput,\n output: MixpanelDeleteProfileBatchOutput,\n});\n"],"mappings":";;AAiBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO,EACtD,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAChG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,CAAC,SAAS,0JAA0J,EAC3P,CAAC,CAAC,CAAC,SAAS,4CAUH;CACP,QAV8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const MixpanelDeleteProfilePropertyInput = zod.z.object({
|
|
|
13
13
|
const MixpanelDeleteProfilePropertyOutput = zod.z.object({
|
|
14
14
|
error: zod.z.string().describe("Error message if the operation fails. Present only when status indicates failure.").nullable().optional(),
|
|
15
15
|
status: zod.z.union([zod.z.string(), zod.z.number().int()])
|
|
16
|
-
}).describe("Response model for profile property deletion.");
|
|
16
|
+
}).passthrough().describe("Response model for profile property deletion.");
|
|
17
17
|
const mixpanelDeleteProfileProperty = require_action.action("MIXPANEL_DELETE_PROFILE_PROPERTY", {
|
|
18
18
|
slug: "mixpanel-delete-profile-property",
|
|
19
19
|
name: "Delete Profile Property",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-profile-property.cjs","names":["z","action"],"sources":["../../src/actions/delete-profile-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfilePropertyInput = z.object({\n ip: z.string().describe(\"IP address for request attribution. Set to '0' to not update geolocation data.\").optional(),\n time: z.number().int().describe(\"Unix timestamp for when the operation occurred.\").optional(),\n token: z.string().describe(\"Project authentication token for API authentication.\"),\n unset: z.array(z.string()).describe(\"List of property names to permanently remove from the profile. Properties are permanently deleted and cannot be recovered.\"),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to update.\"),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property.\").optional(),\n ignore_alias: z.boolean().describe(\"If true, ignores alias processing and uses the distinct_id directly.\").optional(),\n}).describe(\"Request model for deleting properties from a user profile.\");\nexport const MixpanelDeleteProfilePropertyOutput = z.object({\n error: z.string().describe(\"Error message if the operation fails. Present only when status indicates failure.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile property deletion.\");\n\nexport const mixpanelDeleteProfileProperty = action(\"MIXPANEL_DELETE_PROFILE_PROPERTY\", {\n slug: \"mixpanel-delete-profile-property\",\n name: \"Delete Profile Property\",\n description: \"Tool to permanently delete properties from a Mixpanel user profile using the $unset operation. Use when you need to remove specific properties and their values from a profile. Properties are permanently removed and cannot be recovered. Useful when cleaning up properties or approaching Mixpanel's limit of 2000 properties per profile.\",\n input: MixpanelDeleteProfilePropertyInput,\n output: MixpanelDeleteProfilePropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4HAA4H;CAChK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"delete-profile-property.cjs","names":["z","action"],"sources":["../../src/actions/delete-profile-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfilePropertyInput = z.object({\n ip: z.string().describe(\"IP address for request attribution. Set to '0' to not update geolocation data.\").optional(),\n time: z.number().int().describe(\"Unix timestamp for when the operation occurred.\").optional(),\n token: z.string().describe(\"Project authentication token for API authentication.\"),\n unset: z.array(z.string()).describe(\"List of property names to permanently remove from the profile. Properties are permanently deleted and cannot be recovered.\"),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to update.\"),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property.\").optional(),\n ignore_alias: z.boolean().describe(\"If true, ignores alias processing and uses the distinct_id directly.\").optional(),\n}).describe(\"Request model for deleting properties from a user profile.\");\nexport const MixpanelDeleteProfilePropertyOutput = z.object({\n error: z.string().describe(\"Error message if the operation fails. Present only when status indicates failure.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile property deletion.\");\n\nexport const mixpanelDeleteProfileProperty = action(\"MIXPANEL_DELETE_PROFILE_PROPERTY\", {\n slug: \"mixpanel-delete-profile-property\",\n name: \"Delete Profile Property\",\n description: \"Tool to permanently delete properties from a Mixpanel user profile using the $unset operation. Use when you need to remove specific properties and their values from a profile. Properties are permanently removed and cannot be recovered. Useful when cleaning up properties or approaching Mixpanel's limit of 2000 properties per profile.\",\n input: MixpanelDeleteProfilePropertyInput,\n output: MixpanelDeleteProfilePropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4HAA4H;CAChK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,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,+CAA+C;AAEzE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const MixpanelDeleteProfilePropertyInput: z.ZodObject<{
|
|
|
13
13
|
declare const MixpanelDeleteProfilePropertyOutput: z.ZodObject<{
|
|
14
14
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const mixpanelDeleteProfileProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
token: string;
|
|
19
19
|
unset: string[];
|
|
@@ -22,7 +22,23 @@ declare const mixpanelDeleteProfileProperty: import("@keystrokehq/action").Workf
|
|
|
22
22
|
time?: number | undefined;
|
|
23
23
|
ignore_time?: boolean | undefined;
|
|
24
24
|
ignore_alias?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
username: z.ZodString;
|
|
31
|
+
password: z.ZodString;
|
|
32
|
+
region: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
34
|
+
connectionId: z.ZodString;
|
|
35
|
+
entityId: z.ZodString;
|
|
36
|
+
instanceId: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
username: z.ZodString;
|
|
39
|
+
password: z.ZodString;
|
|
40
|
+
region: z.ZodString;
|
|
41
|
+
}, z.core.$strip>>]>;
|
|
26
42
|
//#endregion
|
|
27
43
|
export { mixpanelDeleteProfileProperty };
|
|
28
44
|
//# sourceMappingURL=delete-profile-property.d.cts.map
|
|
@@ -13,7 +13,7 @@ declare const MixpanelDeleteProfilePropertyInput: z.ZodObject<{
|
|
|
13
13
|
declare const MixpanelDeleteProfilePropertyOutput: z.ZodObject<{
|
|
14
14
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const mixpanelDeleteProfileProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
token: string;
|
|
19
19
|
unset: string[];
|
|
@@ -22,7 +22,23 @@ declare const mixpanelDeleteProfileProperty: import("@keystrokehq/action").Workf
|
|
|
22
22
|
time?: number | undefined;
|
|
23
23
|
ignore_time?: boolean | undefined;
|
|
24
24
|
ignore_alias?: boolean | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
username: z.ZodString;
|
|
31
|
+
password: z.ZodString;
|
|
32
|
+
region: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
34
|
+
connectionId: z.ZodString;
|
|
35
|
+
entityId: z.ZodString;
|
|
36
|
+
instanceId: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
username: z.ZodString;
|
|
39
|
+
password: z.ZodString;
|
|
40
|
+
region: z.ZodString;
|
|
41
|
+
}, z.core.$strip>>]>;
|
|
26
42
|
//#endregion
|
|
27
43
|
export { mixpanelDeleteProfileProperty };
|
|
28
44
|
//# sourceMappingURL=delete-profile-property.d.mts.map
|
|
@@ -16,7 +16,7 @@ const mixpanelDeleteProfileProperty = action("MIXPANEL_DELETE_PROFILE_PROPERTY",
|
|
|
16
16
|
output: z.object({
|
|
17
17
|
error: z.string().describe("Error message if the operation fails. Present only when status indicates failure.").nullable().optional(),
|
|
18
18
|
status: z.union([z.string(), z.number().int()])
|
|
19
|
-
}).describe("Response model for profile property deletion.")
|
|
19
|
+
}).passthrough().describe("Response model for profile property deletion.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { mixpanelDeleteProfileProperty };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-profile-property.mjs","names":[],"sources":["../../src/actions/delete-profile-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfilePropertyInput = z.object({\n ip: z.string().describe(\"IP address for request attribution. Set to '0' to not update geolocation data.\").optional(),\n time: z.number().int().describe(\"Unix timestamp for when the operation occurred.\").optional(),\n token: z.string().describe(\"Project authentication token for API authentication.\"),\n unset: z.array(z.string()).describe(\"List of property names to permanently remove from the profile. Properties are permanently deleted and cannot be recovered.\"),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to update.\"),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property.\").optional(),\n ignore_alias: z.boolean().describe(\"If true, ignores alias processing and uses the distinct_id directly.\").optional(),\n}).describe(\"Request model for deleting properties from a user profile.\");\nexport const MixpanelDeleteProfilePropertyOutput = z.object({\n error: z.string().describe(\"Error message if the operation fails. Present only when status indicates failure.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile property deletion.\");\n\nexport const mixpanelDeleteProfileProperty = action(\"MIXPANEL_DELETE_PROFILE_PROPERTY\", {\n slug: \"mixpanel-delete-profile-property\",\n name: \"Delete Profile Property\",\n description: \"Tool to permanently delete properties from a Mixpanel user profile using the $unset operation. Use when you need to remove specific properties and their values from a profile. Properties are permanently removed and cannot be recovered. Useful when cleaning up properties or approaching Mixpanel's limit of 2000 properties per profile.\",\n input: MixpanelDeleteProfilePropertyInput,\n output: MixpanelDeleteProfilePropertyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACjF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4HAA4H;EAChK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACpF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACxH,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,4DAUH;CACP,QAViD,EAAE,OAAO;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"delete-profile-property.mjs","names":[],"sources":["../../src/actions/delete-profile-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfilePropertyInput = z.object({\n ip: z.string().describe(\"IP address for request attribution. Set to '0' to not update geolocation data.\").optional(),\n time: z.number().int().describe(\"Unix timestamp for when the operation occurred.\").optional(),\n token: z.string().describe(\"Project authentication token for API authentication.\"),\n unset: z.array(z.string()).describe(\"List of property names to permanently remove from the profile. Properties are permanently deleted and cannot be recovered.\"),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to update.\"),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property.\").optional(),\n ignore_alias: z.boolean().describe(\"If true, ignores alias processing and uses the distinct_id directly.\").optional(),\n}).describe(\"Request model for deleting properties from a user profile.\");\nexport const MixpanelDeleteProfilePropertyOutput = z.object({\n error: z.string().describe(\"Error message if the operation fails. Present only when status indicates failure.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile property deletion.\");\n\nexport const mixpanelDeleteProfileProperty = action(\"MIXPANEL_DELETE_PROFILE_PROPERTY\", {\n slug: \"mixpanel-delete-profile-property\",\n name: \"Delete Profile Property\",\n description: \"Tool to permanently delete properties from a Mixpanel user profile using the $unset operation. Use when you need to remove specific properties and their values from a profile. Properties are permanently removed and cannot be recovered. Useful when cleaning up properties or approaching Mixpanel's limit of 2000 properties per profile.\",\n input: MixpanelDeleteProfilePropertyInput,\n output: MixpanelDeleteProfilePropertyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACjF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4HAA4H;EAChK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACpF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACxH,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,4DAUH;CACP,QAViD,EAAE,OAAO;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const MixpanelDeleteProfileInput = zod.z.object({
|
|
|
8
8
|
ignore_time: zod.z.boolean().describe("If true, Mixpanel will not automatically update the 'Last Seen' property before deletion.").optional(),
|
|
9
9
|
ignore_alias: zod.z.boolean().describe("If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id. Important for avoiding unintended deletions of merged profiles.").optional()
|
|
10
10
|
}).describe("Request model for deleting a user profile from Mixpanel.");
|
|
11
|
-
const MixpanelDeleteProfileOutput = zod.z.object({ status: zod.z.union([zod.z.string(), zod.z.number().int()]) }).describe("Response model for profile deletion.");
|
|
11
|
+
const MixpanelDeleteProfileOutput = zod.z.object({ status: zod.z.union([zod.z.string(), zod.z.number().int()]) }).passthrough().describe("Response model for profile deletion.");
|
|
12
12
|
const mixpanelDeleteProfile = require_action.action("MIXPANEL_DELETE_PROFILE", {
|
|
13
13
|
slug: "mixpanel-delete-profile",
|
|
14
14
|
name: "Delete Profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-profile.cjs","names":["z","action"],"sources":["../../src/actions/delete-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfileInput = z.object({\n ip: z.string().describe(\"IP address for request attribution. Set to '0' to not update geolocation data.\").optional(),\n token: z.string().describe(\"Project authentication token for API authentication.\"),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to permanently delete. This is the only parameter that determines which profile is deleted.\"),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property before deletion.\").optional(),\n ignore_alias: z.boolean().describe(\"If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id. Important for avoiding unintended deletions of merged profiles.\").optional(),\n}).describe(\"Request model for deleting a user profile from Mixpanel.\");\nexport const MixpanelDeleteProfileOutput = z.object({\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile deletion.\");\n\nexport const mixpanelDeleteProfile = action(\"MIXPANEL_DELETE_PROFILE\", {\n slug: \"mixpanel-delete-profile\",\n name: \"Delete Profile\",\n description: \"Tool to permanently delete a user profile from Mixpanel, along with all of its properties. Use when you need to completely remove a profile. The deletion is permanent and cannot be undone. Note that this only deletes the profile, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.\",\n input: MixpanelDeleteProfileInput,\n output: MixpanelDeleteProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACrK,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACxI,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAC5N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"delete-profile.cjs","names":["z","action"],"sources":["../../src/actions/delete-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfileInput = z.object({\n ip: z.string().describe(\"IP address for request attribution. Set to '0' to not update geolocation data.\").optional(),\n token: z.string().describe(\"Project authentication token for API authentication.\"),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to permanently delete. This is the only parameter that determines which profile is deleted.\"),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property before deletion.\").optional(),\n ignore_alias: z.boolean().describe(\"If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id. Important for avoiding unintended deletions of merged profiles.\").optional(),\n}).describe(\"Request model for deleting a user profile from Mixpanel.\");\nexport const MixpanelDeleteProfileOutput = z.object({\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile deletion.\");\n\nexport const mixpanelDeleteProfile = action(\"MIXPANEL_DELETE_PROFILE\", {\n slug: \"mixpanel-delete-profile\",\n name: \"Delete Profile\",\n description: \"Tool to permanently delete a user profile from Mixpanel, along with all of its properties. Use when you need to completely remove a profile. The deletion is permanent and cannot be undone. Note that this only deletes the profile, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.\",\n input: MixpanelDeleteProfileInput,\n output: MixpanelDeleteProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACrK,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACxI,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAC5N,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,14 +10,30 @@ declare const MixpanelDeleteProfileInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const MixpanelDeleteProfileOutput: z.ZodObject<{
|
|
12
12
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const mixpanelDeleteProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
token: string;
|
|
16
16
|
distinct_id: string;
|
|
17
17
|
ip?: string | undefined;
|
|
18
18
|
ignore_time?: boolean | undefined;
|
|
19
19
|
ignore_alias?: boolean | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
21
37
|
//#endregion
|
|
22
38
|
export { mixpanelDeleteProfile };
|
|
23
39
|
//# sourceMappingURL=delete-profile.d.cts.map
|
|
@@ -10,14 +10,30 @@ declare const MixpanelDeleteProfileInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const MixpanelDeleteProfileOutput: z.ZodObject<{
|
|
12
12
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const mixpanelDeleteProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
token: string;
|
|
16
16
|
distinct_id: string;
|
|
17
17
|
ip?: string | undefined;
|
|
18
18
|
ignore_time?: boolean | undefined;
|
|
19
19
|
ignore_alias?: boolean | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
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>>]>;
|
|
21
37
|
//#endregion
|
|
22
38
|
export { mixpanelDeleteProfile };
|
|
23
39
|
//# sourceMappingURL=delete-profile.d.mts.map
|
|
@@ -11,7 +11,7 @@ const mixpanelDeleteProfile = action("MIXPANEL_DELETE_PROFILE", {
|
|
|
11
11
|
ignore_time: z.boolean().describe("If true, Mixpanel will not automatically update the 'Last Seen' property before deletion.").optional(),
|
|
12
12
|
ignore_alias: z.boolean().describe("If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id. Important for avoiding unintended deletions of merged profiles.").optional()
|
|
13
13
|
}).describe("Request model for deleting a user profile from Mixpanel."),
|
|
14
|
-
output: z.object({ status: z.union([z.string(), z.number().int()]) }).describe("Response model for profile deletion.")
|
|
14
|
+
output: z.object({ status: z.union([z.string(), z.number().int()]) }).passthrough().describe("Response model for profile deletion.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { mixpanelDeleteProfile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-profile.mjs","names":[],"sources":["../../src/actions/delete-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfileInput = z.object({\n ip: z.string().describe(\"IP address for request attribution. Set to '0' to not update geolocation data.\").optional(),\n token: z.string().describe(\"Project authentication token for API authentication.\"),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to permanently delete. This is the only parameter that determines which profile is deleted.\"),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property before deletion.\").optional(),\n ignore_alias: z.boolean().describe(\"If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id. Important for avoiding unintended deletions of merged profiles.\").optional(),\n}).describe(\"Request model for deleting a user profile from Mixpanel.\");\nexport const MixpanelDeleteProfileOutput = z.object({\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile deletion.\");\n\nexport const mixpanelDeleteProfile = action(\"MIXPANEL_DELETE_PROFILE\", {\n slug: \"mixpanel-delete-profile\",\n name: \"Delete Profile\",\n description: \"Tool to permanently delete a user profile from Mixpanel, along with all of its properties. Use when you need to completely remove a profile. The deletion is permanent and cannot be undone. Note that this only deletes the profile, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.\",\n input: MixpanelDeleteProfileInput,\n output: MixpanelDeleteProfileOutput,\n});\n"],"mappings":";;AAeA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACnH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;EACrK,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACxI,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CAC5N,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QATyC,EAAE,OAAO,EAClD,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-profile.mjs","names":[],"sources":["../../src/actions/delete-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteProfileInput = z.object({\n ip: z.string().describe(\"IP address for request attribution. Set to '0' to not update geolocation data.\").optional(),\n token: z.string().describe(\"Project authentication token for API authentication.\"),\n distinct_id: z.string().describe(\"Unique identifier for the user profile to permanently delete. This is the only parameter that determines which profile is deleted.\"),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property before deletion.\").optional(),\n ignore_alias: z.boolean().describe(\"If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id. Important for avoiding unintended deletions of merged profiles.\").optional(),\n}).describe(\"Request model for deleting a user profile from Mixpanel.\");\nexport const MixpanelDeleteProfileOutput = z.object({\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile deletion.\");\n\nexport const mixpanelDeleteProfile = action(\"MIXPANEL_DELETE_PROFILE\", {\n slug: \"mixpanel-delete-profile\",\n name: \"Delete Profile\",\n description: \"Tool to permanently delete a user profile from Mixpanel, along with all of its properties. Use when you need to completely remove a profile. The deletion is permanent and cannot be undone. Note that this only deletes the profile, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.\",\n input: MixpanelDeleteProfileInput,\n output: MixpanelDeleteProfileOutput,\n});\n"],"mappings":";;AAeA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACnH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;EACrK,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACxI,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CAC5N,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QATyC,EAAE,OAAO,EAClD,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-all-projects.ts
|
|
4
4
|
const MixpanelGetAllProjectsInput = zod.z.object({}).describe("Request model for getting all projects from Mixpanel.\nNo parameters needed as this endpoint returns all projects for the authenticated user.");
|
|
5
|
-
const MixpanelGetAllProjectsOutput = zod.z.object({ projects: zod.z.
|
|
5
|
+
const MixpanelGetAllProjectsOutput = zod.z.object({ projects: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary of project IDs mapping to project details") }).passthrough().describe("Response model for projects data.\nContains a dictionary of project IDs mapping to their details.");
|
|
6
6
|
const mixpanelGetAllProjects = require_action.action("MIXPANEL_GET_ALL_PROJECTS", {
|
|
7
7
|
slug: "mixpanel-get-all-projects",
|
|
8
8
|
name: "Get All Projects",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/get-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAllProjectsInput = z.object({}).describe(\"Request model for getting all projects from Mixpanel.\\nNo parameters needed as this endpoint returns all projects for the authenticated user.\");\nexport const MixpanelGetAllProjectsOutput = z.object({\n projects: z.
|
|
1
|
+
{"version":3,"file":"get-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/get-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAllProjectsInput = z.object({}).describe(\"Request model for getting all projects from Mixpanel.\\nNo parameters needed as this endpoint returns all projects for the authenticated user.\");\nexport const MixpanelGetAllProjectsOutput = z.object({\n projects: z.record(z.string(), z.unknown()).describe(\"Dictionary of project IDs mapping to project details\"),\n}).passthrough().describe(\"Response model for projects data.\\nContains a dictionary of project IDs mapping to their details.\");\n\nexport const mixpanelGetAllProjects = action(\"MIXPANEL_GET_ALL_PROJECTS\", {\n slug: \"mixpanel-get-all-projects\",\n name: \"Get All Projects\",\n description: \"Get all projects associated with the authenticated Mixpanel account. Returns project details including name, permissions, role, domain, and other configuration details. If a project appears inaccessible, verify the connection region matches the project's cluster before assuming a permissions issue.\",\n input: MixpanelGetAllProjectsInput,\n output: MixpanelGetAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+IAA+I;AAChN,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAAmG;AAE7H,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -3,9 +3,25 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-all-projects.d.ts
|
|
4
4
|
declare const MixpanelGetAllProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const MixpanelGetAllProjectsOutput: z.ZodObject<{
|
|
6
|
-
projects: z.
|
|
7
|
-
}, z.core.$
|
|
8
|
-
declare const mixpanelGetAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
6
|
+
projects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const mixpanelGetAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
9
|
+
connectionId: z.ZodString;
|
|
10
|
+
entityId: z.ZodString;
|
|
11
|
+
instanceId: z.ZodString;
|
|
12
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
+
username: z.ZodString;
|
|
14
|
+
password: z.ZodString;
|
|
15
|
+
region: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, 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>>]>;
|
|
9
25
|
//#endregion
|
|
10
26
|
export { mixpanelGetAllProjects };
|
|
11
27
|
//# sourceMappingURL=get-all-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-projects.d.cts","names":[],"sources":["../../src/actions/get-all-projects.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-all-projects.d.cts","names":[],"sources":["../../src/actions/get-all-projects.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
|
|
@@ -3,9 +3,25 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-all-projects.d.ts
|
|
4
4
|
declare const MixpanelGetAllProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const MixpanelGetAllProjectsOutput: z.ZodObject<{
|
|
6
|
-
projects: z.
|
|
7
|
-
}, z.core.$
|
|
8
|
-
declare const mixpanelGetAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
6
|
+
projects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const mixpanelGetAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
9
|
+
connectionId: z.ZodString;
|
|
10
|
+
entityId: z.ZodString;
|
|
11
|
+
instanceId: z.ZodString;
|
|
12
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
+
username: z.ZodString;
|
|
14
|
+
password: z.ZodString;
|
|
15
|
+
region: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, 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>>]>;
|
|
9
25
|
//#endregion
|
|
10
26
|
export { mixpanelGetAllProjects };
|
|
11
27
|
//# sourceMappingURL=get-all-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-projects.d.mts","names":[],"sources":["../../src/actions/get-all-projects.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-all-projects.d.mts","names":[],"sources":["../../src/actions/get-all-projects.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
|
|
@@ -5,7 +5,7 @@ const mixpanelGetAllProjects = action("MIXPANEL_GET_ALL_PROJECTS", {
|
|
|
5
5
|
name: "Get All Projects",
|
|
6
6
|
description: "Get all projects associated with the authenticated Mixpanel account. Returns project details including name, permissions, role, domain, and other configuration details. If a project appears inaccessible, verify the connection region matches the project's cluster before assuming a permissions issue.",
|
|
7
7
|
input: z.object({}).describe("Request model for getting all projects from Mixpanel.\nNo parameters needed as this endpoint returns all projects for the authenticated user."),
|
|
8
|
-
output: z.object({ projects: z.
|
|
8
|
+
output: z.object({ projects: z.record(z.string(), z.unknown()).describe("Dictionary of project IDs mapping to project details") }).passthrough().describe("Response model for projects data.\nContains a dictionary of project IDs mapping to their details.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { mixpanelGetAllProjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-projects.mjs","names":[],"sources":["../../src/actions/get-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAllProjectsInput = z.object({}).describe(\"Request model for getting all projects from Mixpanel.\\nNo parameters needed as this endpoint returns all projects for the authenticated user.\");\nexport const MixpanelGetAllProjectsOutput = z.object({\n projects: z.
|
|
1
|
+
{"version":3,"file":"get-all-projects.mjs","names":[],"sources":["../../src/actions/get-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAllProjectsInput = z.object({}).describe(\"Request model for getting all projects from Mixpanel.\\nNo parameters needed as this endpoint returns all projects for the authenticated user.\");\nexport const MixpanelGetAllProjectsOutput = z.object({\n projects: z.record(z.string(), z.unknown()).describe(\"Dictionary of project IDs mapping to project details\"),\n}).passthrough().describe(\"Response model for projects data.\\nContains a dictionary of project IDs mapping to their details.\");\n\nexport const mixpanelGetAllProjects = action(\"MIXPANEL_GET_ALL_PROJECTS\", {\n slug: \"mixpanel-get-all-projects\",\n name: \"Get All Projects\",\n description: \"Get all projects associated with the authenticated Mixpanel account. Returns project details including name, permissions, role, domain, and other configuration details. If a project appears inaccessible, verify the connection region matches the project's cluster before assuming a permissions issue.\",\n input: MixpanelGetAllProjectsInput,\n output: MixpanelGetAllProjectsOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+IASxD;CACP,QAT0C,EAAE,OAAO,EACnD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Display text for the tag when applied to annotations").nullable(),
|
|
8
8
|
project_id: zod.z.number().int().describe("Associated project identifier").nullable(),
|
|
9
9
|
has_annotations: zod.z.boolean().describe("Whether the tag is currently attached to any annotations").nullable()
|
|
10
|
-
}).describe("Model representing a single annotation tag.");
|
|
11
|
-
const MixpanelGetAnnotationTagsAlt1Output = zod.z.object({ tags: zod.z.array(MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema).describe("List of all tags that have been added to at least one annotation in the project").nullable().optional() }).describe("Response model for annotation tags data.");
|
|
10
|
+
}).passthrough().describe("Model representing a single annotation tag.");
|
|
11
|
+
const MixpanelGetAnnotationTagsAlt1Output = zod.z.object({ tags: zod.z.array(MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema).describe("List of all tags that have been added to at least one annotation in the project").nullable().optional() }).passthrough().describe("Response model for annotation tags data.");
|
|
12
12
|
const mixpanelGetAnnotationTagsAlt1 = require_action.action("MIXPANEL_GET_ANNOTATION_TAGS_ALT1", {
|
|
13
13
|
slug: "mixpanel-get-annotation-tags-alt1",
|
|
14
14
|
name: "Get Annotation Tags",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-annotation-tags-alt1.cjs","names":["z","action"],"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}).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}).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":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"get-annotation-tags-alt1.cjs","names":["z","action"],"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":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,11 +10,27 @@ declare const MixpanelGetAnnotationTagsAlt1Output: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
project_id: z.ZodNullable<z.ZodNumber>;
|
|
12
12
|
has_annotations: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const mixpanelGetAnnotationTagsAlt1: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
project_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
18
|
+
connectionId: z.ZodString;
|
|
19
|
+
entityId: z.ZodString;
|
|
20
|
+
instanceId: z.ZodString;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
username: z.ZodString;
|
|
23
|
+
password: z.ZodString;
|
|
24
|
+
region: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
username: z.ZodString;
|
|
31
|
+
password: z.ZodString;
|
|
32
|
+
region: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>;
|
|
18
34
|
//#endregion
|
|
19
35
|
export { mixpanelGetAnnotationTagsAlt1 };
|
|
20
36
|
//# sourceMappingURL=get-annotation-tags-alt1.d.cts.map
|