@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":"profile-numerical-add.mjs","names":[],"sources":["../../src/actions/profile-numerical-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileNumericalAddInput = z.object({\n ip: z.union([z.string(), z.number().int()]).optional(),\n add: z.
|
|
1
|
+
{"version":3,"file":"profile-numerical-add.mjs","names":[],"sources":["../../src/actions/profile-numerical-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileNumericalAddInput = z.object({\n ip: z.union([z.string(), z.number().int()]).optional(),\n add: z.record(z.string(), z.unknown()).describe(\"A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement.\"),\n time: z.number().int().describe(\"Unix timestamp to override the time of the update. If not provided, uses current server time.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Request model for incrementing numerical properties on user profiles.\");\nexport const MixpanelProfileNumericalAddOutput = 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 numerical add operation.\");\n\nexport const mixpanelProfileNumericalAdd = action(\"MIXPANEL_PROFILE_NUMERICAL_ADD\", {\n slug: \"mixpanel-profile-numerical-add\",\n name: \"Increment Profile Numerical Property\",\n description: \"Tool to increment or decrement numerical properties on user profiles in Mixpanel. Use when you need to add values to existing numerical properties (e.g., login counts, points, credits). Properties are incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement properties.\",\n input: MixpanelProfileNumericalAddInput,\n output: MixpanelProfileNumericalAddOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACrD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oOAAoO;EACpR,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EAC9M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,uEAUH;CACP,QAV+C,EAAE,OAAO;EACxD,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,qDAOhB;AACV,CAAC"}
|
|
@@ -8,13 +8,13 @@ const MixpanelProfileRemoveFromListPropertyInput = zod.z.object({
|
|
|
8
8
|
remove: 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 the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
|
|
9
9
|
distinct_id: zod.z.string().describe("The unique identifier for the user profile"),
|
|
10
10
|
ignore_time: zod.z.boolean().describe("If true, prevents updating the 'Last Seen' property. Defaults to false.").optional()
|
|
11
|
-
}).describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
|
|
11
|
+
}).passthrough().describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
|
|
12
12
|
verbose: zod.z.number().int().describe("When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).").optional()
|
|
13
13
|
}).describe("Request model for removing values from list properties on user profiles.");
|
|
14
14
|
const MixpanelProfileRemoveFromListPropertyOutput = zod.z.object({
|
|
15
15
|
error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
16
16
|
status: zod.z.union([zod.z.string(), zod.z.number().int()])
|
|
17
|
-
}).describe("Response model for profile remove operation.");
|
|
17
|
+
}).passthrough().describe("Response model for profile remove operation.");
|
|
18
18
|
const mixpanelProfileRemoveFromListProperty = require_action.action("MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY", {
|
|
19
19
|
slug: "mixpanel-profile-remove-from-list-property",
|
|
20
20
|
name: "Remove from Profile List Property",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: 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 the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput = 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}).describe(\"Response model for profile remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;EAC1P,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;
|
|
1
|
+
{"version":3,"file":"profile-remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: 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 the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).passthrough().describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput = 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 remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;EAC1P,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;CACnN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,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,8CAA8C;AAExE,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,15 +8,16 @@ declare const MixpanelProfileRemoveFromListPropertyInput: z.ZodObject<{
|
|
|
8
8
|
remove: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
distinct_id: z.ZodString;
|
|
10
10
|
ignore_time: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
verbose: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const MixpanelProfileRemoveFromListPropertyOutput: z.ZodObject<{
|
|
15
15
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
data: {
|
|
20
|
+
[x: string]: unknown;
|
|
20
21
|
token: string;
|
|
21
22
|
remove: Record<string, unknown>;
|
|
22
23
|
distinct_id: string;
|
|
@@ -24,7 +25,23 @@ declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action
|
|
|
24
25
|
ignore_time?: boolean | undefined;
|
|
25
26
|
}[];
|
|
26
27
|
verbose?: number | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
username: z.ZodString;
|
|
42
|
+
password: z.ZodString;
|
|
43
|
+
region: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>;
|
|
28
45
|
//#endregion
|
|
29
46
|
export { mixpanelProfileRemoveFromListProperty };
|
|
30
47
|
//# sourceMappingURL=profile-remove-from-list-property.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAK3C,qCAAA,gCAAqC,wBAAA
|
|
1
|
+
{"version":3,"file":"profile-remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
|
|
@@ -8,15 +8,16 @@ declare const MixpanelProfileRemoveFromListPropertyInput: z.ZodObject<{
|
|
|
8
8
|
remove: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
distinct_id: z.ZodString;
|
|
10
10
|
ignore_time: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
verbose: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const MixpanelProfileRemoveFromListPropertyOutput: z.ZodObject<{
|
|
15
15
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
data: {
|
|
20
|
+
[x: string]: unknown;
|
|
20
21
|
token: string;
|
|
21
22
|
remove: Record<string, unknown>;
|
|
22
23
|
distinct_id: string;
|
|
@@ -24,7 +25,23 @@ declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action
|
|
|
24
25
|
ignore_time?: boolean | undefined;
|
|
25
26
|
}[];
|
|
26
27
|
verbose?: number | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
username: z.ZodString;
|
|
42
|
+
password: z.ZodString;
|
|
43
|
+
region: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>;
|
|
28
45
|
//#endregion
|
|
29
46
|
export { mixpanelProfileRemoveFromListProperty };
|
|
30
47
|
//# sourceMappingURL=profile-remove-from-list-property.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAK3C,qCAAA,gCAAqC,wBAAA
|
|
1
|
+
{"version":3,"file":"profile-remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
|
|
@@ -11,13 +11,13 @@ const mixpanelProfileRemoveFromListProperty = action("MIXPANEL_PROFILE_REMOVE_FR
|
|
|
11
11
|
remove: 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 the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
|
|
12
12
|
distinct_id: z.string().describe("The unique identifier for the user profile"),
|
|
13
13
|
ignore_time: z.boolean().describe("If true, prevents updating the 'Last Seen' property. Defaults to false.").optional()
|
|
14
|
-
}).describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
|
|
14
|
+
}).passthrough().describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
|
|
15
15
|
verbose: z.number().int().describe("When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).").optional()
|
|
16
16
|
}).describe("Request model for removing values from list properties on user profiles."),
|
|
17
17
|
output: z.object({
|
|
18
18
|
error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
19
19
|
status: z.union([z.string(), z.number().int()])
|
|
20
|
-
}).describe("Response model for profile remove operation.")
|
|
20
|
+
}).passthrough().describe("Response model for profile remove operation.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { mixpanelProfileRemoveFromListProperty };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-remove-from-list-property.mjs","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: 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 the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput = 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}).describe(\"Response model for profile remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAmBA,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;GAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;GAC1P,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;
|
|
1
|
+
{"version":3,"file":"profile-remove-from-list-property.mjs","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: 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 the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).passthrough().describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput = 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 remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAmBA,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;GAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;GAC1P,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;EACnN,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAChN,CAAC,CAAC,CAAC,SAAS,0EAUH;CACP,QAVyD,EAAE,OAAO;EAClE,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,8CAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const MixpanelProfileSetInput = zod.z.object({
|
|
|
12
12
|
const MixpanelProfileSetOutput = zod.z.object({
|
|
13
13
|
error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
14
14
|
status: zod.z.union([zod.z.string(), zod.z.number().int()])
|
|
15
|
-
}).describe("Response model for profile set operation.");
|
|
15
|
+
}).passthrough().describe("Response model for profile set operation.");
|
|
16
16
|
const mixpanelProfileSet = require_action.action("MIXPANEL_PROFILE_SET", {
|
|
17
17
|
slug: "mixpanel-profile-set",
|
|
18
18
|
name: "Set Profile Properties",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-set.cjs","names":["z","action"],"sources":["../../src/actions/profile-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileSetInput = 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 time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\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 set_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.\"),\n}).describe(\"Request model for setting user profile properties.\");\nexport const MixpanelProfileSetOutput = 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}).describe(\"Response model for profile set operation.\");\n\nexport const mixpanelProfileSet = action(\"MIXPANEL_PROFILE_SET\", {\n slug: \"mixpanel-profile-set\",\n name: \"Set Profile Properties\",\n description: \"Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.\",\n input: MixpanelProfileSetInput,\n output: MixpanelProfileSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mMAAmM;AAChQ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"profile-set.cjs","names":["z","action"],"sources":["../../src/actions/profile-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileSetInput = 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 time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\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 set_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.\"),\n}).describe(\"Request model for setting user profile properties.\");\nexport const MixpanelProfileSetOutput = 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 set operation.\");\n\nexport const mixpanelProfileSet = action(\"MIXPANEL_PROFILE_SET\", {\n slug: \"mixpanel-profile-set\",\n name: \"Set Profile Properties\",\n description: \"Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.\",\n input: MixpanelProfileSetInput,\n output: MixpanelProfileSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mMAAmM;AAChQ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,2CAA2C;AAErE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const MixpanelProfileSetInput: z.ZodObject<{
|
|
|
12
12
|
declare const MixpanelProfileSetOutput: z.ZodObject<{
|
|
13
13
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const mixpanelProfileSet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
token: string;
|
|
18
18
|
distinct_id: string;
|
|
@@ -20,7 +20,23 @@ declare const mixpanelProfileSet: import("@keystrokehq/action").WorkflowActionDe
|
|
|
20
20
|
ip?: string | undefined;
|
|
21
21
|
time?: number | undefined;
|
|
22
22
|
ignore_time?: boolean | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
username: z.ZodString;
|
|
29
|
+
password: z.ZodString;
|
|
30
|
+
region: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
username: z.ZodString;
|
|
37
|
+
password: z.ZodString;
|
|
38
|
+
region: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>;
|
|
24
40
|
//#endregion
|
|
25
41
|
export { mixpanelProfileSet };
|
|
26
42
|
//# sourceMappingURL=profile-set.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-set.d.cts","names":[],"sources":["../../src/actions/profile-set.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA
|
|
1
|
+
{"version":3,"file":"profile-set.d.cts","names":[],"sources":["../../src/actions/profile-set.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -12,7 +12,7 @@ declare const MixpanelProfileSetInput: z.ZodObject<{
|
|
|
12
12
|
declare const MixpanelProfileSetOutput: z.ZodObject<{
|
|
13
13
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const mixpanelProfileSet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
token: string;
|
|
18
18
|
distinct_id: string;
|
|
@@ -20,7 +20,23 @@ declare const mixpanelProfileSet: import("@keystrokehq/action").WorkflowActionDe
|
|
|
20
20
|
ip?: string | undefined;
|
|
21
21
|
time?: number | undefined;
|
|
22
22
|
ignore_time?: boolean | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
username: z.ZodString;
|
|
29
|
+
password: z.ZodString;
|
|
30
|
+
region: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
username: z.ZodString;
|
|
37
|
+
password: z.ZodString;
|
|
38
|
+
region: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>;
|
|
24
40
|
//#endregion
|
|
25
41
|
export { mixpanelProfileSet };
|
|
26
42
|
//# sourceMappingURL=profile-set.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-set.d.mts","names":[],"sources":["../../src/actions/profile-set.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA
|
|
1
|
+
{"version":3,"file":"profile-set.d.mts","names":[],"sources":["../../src/actions/profile-set.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -15,7 +15,7 @@ const mixpanelProfileSet = action("MIXPANEL_PROFILE_SET", {
|
|
|
15
15
|
output: z.object({
|
|
16
16
|
error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
17
17
|
status: z.union([z.string(), z.number().int()])
|
|
18
|
-
}).describe("Response model for profile set operation.")
|
|
18
|
+
}).passthrough().describe("Response model for profile set operation.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { mixpanelProfileSet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-set.mjs","names":[],"sources":["../../src/actions/profile-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileSetInput = 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 time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\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 set_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.\"),\n}).describe(\"Request model for setting user profile properties.\");\nexport const MixpanelProfileSetOutput = 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}).describe(\"Response model for profile set operation.\");\n\nexport const mixpanelProfileSet = action(\"MIXPANEL_PROFILE_SET\", {\n slug: \"mixpanel-profile-set\",\n name: \"Set Profile Properties\",\n description: \"Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.\",\n input: MixpanelProfileSetInput,\n output: MixpanelProfileSetOutput,\n});\n"],"mappings":";;AAiBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mMAAmM;CAChQ,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,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,SAAS,
|
|
1
|
+
{"version":3,"file":"profile-set.mjs","names":[],"sources":["../../src/actions/profile-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileSetInput = 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 time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\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 set_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.\"),\n}).describe(\"Request model for setting user profile properties.\");\nexport const MixpanelProfileSetOutput = 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 set operation.\");\n\nexport const mixpanelProfileSet = action(\"MIXPANEL_PROFILE_SET\", {\n slug: \"mixpanel-profile-set\",\n name: \"Set Profile Properties\",\n description: \"Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.\",\n input: MixpanelProfileSetInput,\n output: MixpanelProfileSetOutput,\n});\n"],"mappings":";;AAiBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mMAAmM;CAChQ,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,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,2CAOhB;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const MixpanelQueryFrequencyReportInput = zod.z.object({
|
|
|
17
17
|
workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional(),
|
|
18
18
|
addiction_unit: zod.z.enum(["hour", "day"]).describe("The granularity to return frequency of actions at")
|
|
19
19
|
}).describe("Request model for querying frequency data");
|
|
20
|
-
const MixpanelQueryFrequencyReportOutput = zod.z.object({ data: zod.z.
|
|
20
|
+
const MixpanelQueryFrequencyReportOutput = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Contains date keys mapping to frequency arrays. Each date key is formatted as YYYY-MM-DD and contains an array of integers representing cumulative user counts at each frequency interval.") }).passthrough().describe("Response model for frequency query data");
|
|
21
21
|
const mixpanelQueryFrequencyReport = require_action.action("MIXPANEL_QUERY_FREQUENCY_REPORT", {
|
|
22
22
|
slug: "mixpanel-query-frequency-report",
|
|
23
23
|
name: "Query Frequency Report",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-frequency-report.cjs","names":["z","action"],"sources":["../../src/actions/query-frequency-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFrequencyReportInput = z.object({\n on: z.string().describe(\"The property expression to segment the second event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"The overall time period to return frequency of actions for\"),\n event: z.string().describe(\"The event to generate returning counts for\").optional(),\n limit: z.number().int().describe(\"Return the top limit segmentation values\").optional(),\n where: z.string().describe(\"An expression to filter the returning events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 addiction_unit: z.enum([\"hour\", \"day\"]).describe(\"The granularity to return frequency of actions at\"),\n}).describe(\"Request model for querying frequency data\");\nexport const MixpanelQueryFrequencyReportOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"query-frequency-report.cjs","names":["z","action"],"sources":["../../src/actions/query-frequency-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFrequencyReportInput = z.object({\n on: z.string().describe(\"The property expression to segment the second event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"The overall time period to return frequency of actions for\"),\n event: z.string().describe(\"The event to generate returning counts for\").optional(),\n limit: z.number().int().describe(\"Return the top limit segmentation values\").optional(),\n where: z.string().describe(\"An expression to filter the returning events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 addiction_unit: z.enum([\"hour\", \"day\"]).describe(\"The granularity to return frequency of actions at\"),\n}).describe(\"Request model for querying frequency data\");\nexport const MixpanelQueryFrequencyReportOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Contains date keys mapping to frequency arrays. Each date key is formatted as YYYY-MM-DD and contains an array of integers representing cumulative user counts at each frequency interval.\"),\n}).passthrough().describe(\"Response model for frequency query data\");\n\nexport const mixpanelQueryFrequencyReport = action(\"MIXPANEL_QUERY_FREQUENCY_REPORT\", {\n slug: \"mixpanel-query-frequency-report\",\n name: \"Query Frequency Report\",\n description: \"Get data about how frequently users are performing events. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response with unit=\\\"day\\\" and addiction_unit=\\\"hour\\\": { \\\"2012-01-01\\\": [305, 107, 60, 41, ...], # Users who did event in 1+ hours, 2+ hours, etc. \\\"2012-01-02\\\": [495, 204, 117, 77, ...], \\\"2012-01-03\\\": [671, 324, 176, 122, ...] }\",\n input: MixpanelQueryFrequencyReportInput,\n output: MixpanelQueryFrequencyReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,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;CAC1F,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACtG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4LAA4L,EAC/O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,8 +21,8 @@ declare const MixpanelQueryFrequencyReportInput: z.ZodObject<{
|
|
|
21
21
|
}>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const MixpanelQueryFrequencyReportOutput: z.ZodObject<{
|
|
24
|
-
data: z.
|
|
25
|
-
}, z.core.$
|
|
24
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const mixpanelQueryFrequencyReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
unit: "day" | "week" | "month";
|
|
28
28
|
to_date: string;
|
|
@@ -34,7 +34,23 @@ declare const mixpanelQueryFrequencyReport: import("@keystrokehq/action").Workfl
|
|
|
34
34
|
limit?: number | undefined;
|
|
35
35
|
where?: string | undefined;
|
|
36
36
|
workspace_id?: number | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
username: z.ZodString;
|
|
43
|
+
password: z.ZodString;
|
|
44
|
+
region: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
46
|
+
connectionId: z.ZodString;
|
|
47
|
+
entityId: z.ZodString;
|
|
48
|
+
instanceId: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
username: z.ZodString;
|
|
51
|
+
password: z.ZodString;
|
|
52
|
+
region: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
38
54
|
//#endregion
|
|
39
55
|
export { mixpanelQueryFrequencyReport };
|
|
40
56
|
//# sourceMappingURL=query-frequency-report.d.cts.map
|
|
@@ -21,8 +21,8 @@ declare const MixpanelQueryFrequencyReportInput: z.ZodObject<{
|
|
|
21
21
|
}>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const MixpanelQueryFrequencyReportOutput: z.ZodObject<{
|
|
24
|
-
data: z.
|
|
25
|
-
}, z.core.$
|
|
24
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const mixpanelQueryFrequencyReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
unit: "day" | "week" | "month";
|
|
28
28
|
to_date: string;
|
|
@@ -34,7 +34,23 @@ declare const mixpanelQueryFrequencyReport: import("@keystrokehq/action").Workfl
|
|
|
34
34
|
limit?: number | undefined;
|
|
35
35
|
where?: string | undefined;
|
|
36
36
|
workspace_id?: number | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
username: z.ZodString;
|
|
43
|
+
password: z.ZodString;
|
|
44
|
+
region: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
46
|
+
connectionId: z.ZodString;
|
|
47
|
+
entityId: z.ZodString;
|
|
48
|
+
instanceId: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
username: z.ZodString;
|
|
51
|
+
password: z.ZodString;
|
|
52
|
+
region: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
38
54
|
//#endregion
|
|
39
55
|
export { mixpanelQueryFrequencyReport };
|
|
40
56
|
//# sourceMappingURL=query-frequency-report.d.mts.map
|
|
@@ -20,7 +20,7 @@ const mixpanelQueryFrequencyReport = action("MIXPANEL_QUERY_FREQUENCY_REPORT", {
|
|
|
20
20
|
workspace_id: z.number().int().describe("The id of the workspace if applicable").optional(),
|
|
21
21
|
addiction_unit: z.enum(["hour", "day"]).describe("The granularity to return frequency of actions at")
|
|
22
22
|
}).describe("Request model for querying frequency data"),
|
|
23
|
-
output: z.object({ data: z.
|
|
23
|
+
output: z.object({ data: z.record(z.string(), z.unknown()).describe("Contains date keys mapping to frequency arrays. Each date key is formatted as YYYY-MM-DD and contains an array of integers representing cumulative user counts at each frequency interval.") }).passthrough().describe("Response model for frequency query data")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { mixpanelQueryFrequencyReport };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-frequency-report.mjs","names":[],"sources":["../../src/actions/query-frequency-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFrequencyReportInput = z.object({\n on: z.string().describe(\"The property expression to segment the second event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"The overall time period to return frequency of actions for\"),\n event: z.string().describe(\"The event to generate returning counts for\").optional(),\n limit: z.number().int().describe(\"Return the top limit segmentation values\").optional(),\n where: z.string().describe(\"An expression to filter the returning events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 addiction_unit: z.enum([\"hour\", \"day\"]).describe(\"The granularity to return frequency of actions at\"),\n}).describe(\"Request model for querying frequency data\");\nexport const MixpanelQueryFrequencyReportOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"query-frequency-report.mjs","names":[],"sources":["../../src/actions/query-frequency-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFrequencyReportInput = z.object({\n on: z.string().describe(\"The property expression to segment the second event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"The overall time period to return frequency of actions for\"),\n event: z.string().describe(\"The event to generate returning counts for\").optional(),\n limit: z.number().int().describe(\"Return the top limit segmentation values\").optional(),\n where: z.string().describe(\"An expression to filter the returning events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 addiction_unit: z.enum([\"hour\", \"day\"]).describe(\"The granularity to return frequency of actions at\"),\n}).describe(\"Request model for querying frequency data\");\nexport const MixpanelQueryFrequencyReportOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Contains date keys mapping to frequency arrays. Each date key is formatted as YYYY-MM-DD and contains an array of integers representing cumulative user counts at each frequency interval.\"),\n}).passthrough().describe(\"Response model for frequency query data\");\n\nexport const mixpanelQueryFrequencyReport = action(\"MIXPANEL_QUERY_FREQUENCY_REPORT\", {\n slug: \"mixpanel-query-frequency-report\",\n name: \"Query Frequency Report\",\n description: \"Get data about how frequently users are performing events. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response with unit=\\\"day\\\" and addiction_unit=\\\"hour\\\": { \\\"2012-01-01\\\": [305, 107, 60, 41, ...], # Users who did event in 1+ hours, 2+ hours, etc. \\\"2012-01-02\\\": [495, 204, 117, 77, ...], \\\"2012-01-03\\\": [671, 324, 176, 122, ...] }\",\n input: MixpanelQueryFrequencyReportInput,\n output: MixpanelQueryFrequencyReportOutput,\n});\n"],"mappings":";;AAoBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;EAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1F,gBAAgB,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACtG,CAAC,CAAC,CAAC,SAAS,2CASH;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4LAA4L,EAC/O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -24,11 +24,11 @@ const MixpanelQueryFunnelInput = zod.z.object({
|
|
|
24
24
|
]).describe("Extended time units including seconds for funnel analysis.").optional(),
|
|
25
25
|
workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
|
|
26
26
|
}).describe("Request model for querying funnel data");
|
|
27
|
-
const MixpanelQueryFunnel_FunnelMetaSchema = zod.z.object({ dates: zod.z.array(zod.z.string()).describe("Date in YYYY-mm-dd format for each data point") }).describe("Model for funnel metadata");
|
|
27
|
+
const MixpanelQueryFunnel_FunnelMetaSchema = zod.z.object({ dates: zod.z.array(zod.z.string()).describe("Date in YYYY-mm-dd format for each data point") }).passthrough().describe("Model for funnel metadata");
|
|
28
28
|
const MixpanelQueryFunnelOutput = zod.z.object({
|
|
29
|
-
data: zod.z.
|
|
29
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Maps dates to funnel step data. Each key is a date string in YYYY-mm-dd format, and each value contains steps and analysis for that date bucket"),
|
|
30
30
|
meta: MixpanelQueryFunnel_FunnelMetaSchema.nullable()
|
|
31
|
-
}).describe("Response model for funnel query data");
|
|
31
|
+
}).passthrough().describe("Response model for funnel query data");
|
|
32
32
|
const mixpanelQueryFunnel = require_action.action("MIXPANEL_QUERY_FUNNEL", {
|
|
33
33
|
slug: "mixpanel-query-funnel",
|
|
34
34
|
name: "Query Saved Funnel",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-funnel.cjs","names":["z","action"],"sources":["../../src/actions/query-funnel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFunnelInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"Medium range time units for Mixpanel operations.\").optional(),\n limit: z.number().int().default(255).describe(\"Return the top property values. Maximum value 10,000\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n length: z.number().int().describe(\"The number of units each user has to complete the funnel. May not be greater than 90 days\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n interval: z.number().int().default(1).describe(\"The number of days you want each bucket to contain\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n funnel_id: z.number().int().describe(\"The funnel that you wish to get data for\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n length_unit: z.enum([\"second\", \"minute\", \"hour\", \"day\"]).describe(\"Extended time units including seconds for funnel analysis.\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying funnel data\");\nconst MixpanelQueryFunnel_FunnelMetaSchema = z.object({\n dates: z.array(z.string()).describe(\"Date in YYYY-mm-dd format for each data point\"),\n}).describe(\"Model for funnel metadata\");\nexport const MixpanelQueryFunnelOutput = z.object({\n data: z.
|
|
1
|
+
{"version":3,"file":"query-funnel.cjs","names":["z","action"],"sources":["../../src/actions/query-funnel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFunnelInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"Medium range time units for Mixpanel operations.\").optional(),\n limit: z.number().int().default(255).describe(\"Return the top property values. Maximum value 10,000\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n length: z.number().int().describe(\"The number of units each user has to complete the funnel. May not be greater than 90 days\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n interval: z.number().int().default(1).describe(\"The number of days you want each bucket to contain\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n funnel_id: z.number().int().describe(\"The funnel that you wish to get data for\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n length_unit: z.enum([\"second\", \"minute\", \"hour\", \"day\"]).describe(\"Extended time units including seconds for funnel analysis.\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying funnel data\");\nconst MixpanelQueryFunnel_FunnelMetaSchema = z.object({\n dates: z.array(z.string()).describe(\"Date in YYYY-mm-dd format for each data point\"),\n}).passthrough().describe(\"Model for funnel metadata\");\nexport const MixpanelQueryFunnelOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Maps dates to funnel step data. Each key is a date string in YYYY-mm-dd format, and each value contains steps and analysis for that date bucket\"),\n meta: MixpanelQueryFunnel_FunnelMetaSchema.nullable(),\n}).passthrough().describe(\"Response model for funnel query data\");\n\nexport const mixpanelQueryFunnel = action(\"MIXPANEL_QUERY_FUNNEL\", {\n slug: \"mixpanel-query-funnel\",\n name: \"Query Saved Funnel\",\n description: \"Get data for a funnel. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryFunnelInput,\n output: MixpanelQueryFunnelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAU;EAAQ;CAAK,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO,EACpD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CAClM,MAAM,qCAAqC,SAAS;AACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,11 +25,11 @@ declare const MixpanelQueryFunnelInput: z.ZodObject<{
|
|
|
25
25
|
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
declare const MixpanelQueryFunnelOutput: z.ZodObject<{
|
|
28
|
-
data: z.
|
|
28
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
29
|
meta: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
dates: z.ZodArray<z.ZodString>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const mixpanelQueryFunnel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
to_date: string;
|
|
35
35
|
from_date: string;
|
|
@@ -43,7 +43,23 @@ declare const mixpanelQueryFunnel: import("@keystrokehq/action").WorkflowActionD
|
|
|
43
43
|
interval?: number | undefined;
|
|
44
44
|
length_unit?: "minute" | "hour" | "day" | "second" | undefined;
|
|
45
45
|
workspace_id?: number | undefined;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
46
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
47
|
+
connectionId: z.ZodString;
|
|
48
|
+
entityId: z.ZodString;
|
|
49
|
+
instanceId: z.ZodString;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
+
username: z.ZodString;
|
|
52
|
+
password: z.ZodString;
|
|
53
|
+
region: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
55
|
+
connectionId: z.ZodString;
|
|
56
|
+
entityId: z.ZodString;
|
|
57
|
+
instanceId: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
username: z.ZodString;
|
|
60
|
+
password: z.ZodString;
|
|
61
|
+
region: z.ZodString;
|
|
62
|
+
}, z.core.$strip>>]>;
|
|
47
63
|
//#endregion
|
|
48
64
|
export { mixpanelQueryFunnel };
|
|
49
65
|
//# sourceMappingURL=query-funnel.d.cts.map
|
|
@@ -25,11 +25,11 @@ declare const MixpanelQueryFunnelInput: z.ZodObject<{
|
|
|
25
25
|
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
declare const MixpanelQueryFunnelOutput: z.ZodObject<{
|
|
28
|
-
data: z.
|
|
28
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
29
|
meta: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
dates: z.ZodArray<z.ZodString>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const mixpanelQueryFunnel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
to_date: string;
|
|
35
35
|
from_date: string;
|
|
@@ -43,7 +43,23 @@ declare const mixpanelQueryFunnel: import("@keystrokehq/action").WorkflowActionD
|
|
|
43
43
|
interval?: number | undefined;
|
|
44
44
|
length_unit?: "minute" | "hour" | "day" | "second" | undefined;
|
|
45
45
|
workspace_id?: number | undefined;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
46
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
47
|
+
connectionId: z.ZodString;
|
|
48
|
+
entityId: z.ZodString;
|
|
49
|
+
instanceId: z.ZodString;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
+
username: z.ZodString;
|
|
52
|
+
password: z.ZodString;
|
|
53
|
+
region: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
55
|
+
connectionId: z.ZodString;
|
|
56
|
+
entityId: z.ZodString;
|
|
57
|
+
instanceId: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
username: z.ZodString;
|
|
60
|
+
password: z.ZodString;
|
|
61
|
+
region: z.ZodString;
|
|
62
|
+
}, z.core.$strip>>]>;
|
|
47
63
|
//#endregion
|
|
48
64
|
export { mixpanelQueryFunnel };
|
|
49
65
|
//# sourceMappingURL=query-funnel.d.mts.map
|