@keystrokehq/mixpanel 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +5 -4
- 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 +5 -4
- 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 +3 -3
- package/dist/actions/aggregate-events.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/aggregated-event-property-values.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/cohorts-list.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/create-annotation-tag.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/create-identity.d.mts +1 -1
- package/dist/actions/create-identity.mjs +1 -1
- package/dist/actions/create-identity.mjs.map +1 -1
- package/dist/actions/create-service-account.cjs +3 -3
- package/dist/actions/create-service-account.cjs.map +1 -1
- package/dist/actions/create-service-account.d.cts +4 -3
- package/dist/actions/create-service-account.d.mts +4 -3
- 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 +1 -1
- package/dist/actions/delete-group.d.mts +1 -1
- package/dist/actions/delete-group.mjs +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-profile-batch.cjs +2 -2
- package/dist/actions/delete-profile-batch.cjs.map +1 -1
- package/dist/actions/delete-profile-batch.d.cts +3 -2
- package/dist/actions/delete-profile-batch.d.mts +3 -2
- 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 +1 -1
- package/dist/actions/delete-profile-property.d.mts +1 -1
- package/dist/actions/delete-profile-property.mjs +1 -1
- package/dist/actions/delete-profile-property.mjs.map +1 -1
- package/dist/actions/delete-profile.cjs +1 -1
- package/dist/actions/delete-profile.cjs.map +1 -1
- package/dist/actions/delete-profile.d.cts +1 -1
- package/dist/actions/delete-profile.d.mts +1 -1
- package/dist/actions/delete-profile.mjs +1 -1
- package/dist/actions/delete-profile.mjs.map +1 -1
- package/dist/actions/get-all-projects.cjs +1 -1
- package/dist/actions/get-all-projects.cjs.map +1 -1
- package/dist/actions/get-all-projects.d.cts +2 -2
- package/dist/actions/get-all-projects.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-annotation-tags-alt1.d.mts +2 -2
- 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 +5 -4
- package/dist/actions/group-batch-update.d.mts +5 -4
- 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 +1 -1
- package/dist/actions/group-delete-property.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/identity-create-alias.d.mts +1 -1
- package/dist/actions/identity-create-alias.mjs +1 -1
- package/dist/actions/identity-create-alias.mjs.map +1 -1
- package/dist/actions/jql-query.cjs +1 -1
- package/dist/actions/jql-query.cjs.map +1 -1
- package/dist/actions/jql-query.d.cts +1 -1
- package/dist/actions/jql-query.d.mts +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 +2 -2
- package/dist/actions/list-funnels.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/list-service-accounts.d.mts +2 -2
- 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 +3 -2
- package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.mts +3 -2
- 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 +8 -7
- package/dist/actions/profile-batch-update.d.mts +8 -7
- 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 +4 -4
- package/dist/actions/profile-event-activity.d.mts +4 -4
- 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 +3 -3
- package/dist/actions/profile-numerical-add.d.mts +3 -3
- 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 +3 -2
- package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.mts +3 -2
- 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 +1 -1
- package/dist/actions/profile-set.d.mts +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 +2 -2
- package/dist/actions/query-frequency-report.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/query-funnel.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/query-insight.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/query-numeric-average.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/query-numeric-sum.d.mts +2 -2
- 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 +4 -4
- package/dist/actions/query-profiles.d.mts +4 -4
- 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 +2 -2
- package/dist/actions/query-retention-report.d.mts +2 -2
- 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 +3 -3
- package/dist/actions/query-segmentation.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/query-top-events.d.mts +2 -2
- 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 +3 -2
- package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.mts +3 -2
- 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 +1 -1
- package/dist/actions/remove-from-list-property.d.mts +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 +2 -2
- package/dist/actions/segmentation-numeric-query.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/set-group-property-once.d.mts +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 +1 -1
- package/dist/actions/set-profile-property-once.d.mts +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-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 +1 -1
- package/dist/actions/top-event-property-values.d.mts +1 -1
- package/dist/actions/top-event-property-values.mjs +1 -1
- package/dist/actions/top-event-property-values.mjs.map +1 -1
- package/dist/actions/top-events.cjs +1 -1
- package/dist/actions/top-events.cjs.map +1 -1
- package/dist/actions/top-events.d.cts +1 -1
- package/dist/actions/top-events.d.mts +1 -1
- package/dist/actions/top-events.mjs +1 -1
- package/dist/actions/top-events.mjs.map +1 -1
- package/dist/actions/update-group-list-property.cjs +3 -3
- package/dist/actions/update-group-list-property.cjs.map +1 -1
- package/dist/actions/update-group-list-property.d.cts +5 -4
- package/dist/actions/update-group-list-property.d.cts.map +1 -1
- package/dist/actions/update-group-list-property.d.mts +5 -4
- 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/package.json +1 -1
|
@@ -11,7 +11,7 @@ declare const MixpanelCreateIdentityInput: z.ZodObject<{
|
|
|
11
11
|
declare const MixpanelCreateIdentityOutput: z.ZodObject<{
|
|
12
12
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
status: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const mixpanelCreateIdentity: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
token: string;
|
|
17
17
|
anon_id: string;
|
|
@@ -11,7 +11,7 @@ declare const MixpanelCreateIdentityInput: z.ZodObject<{
|
|
|
11
11
|
declare const MixpanelCreateIdentityOutput: z.ZodObject<{
|
|
12
12
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
status: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const mixpanelCreateIdentity: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
token: string;
|
|
17
17
|
anon_id: string;
|
|
@@ -14,7 +14,7 @@ const mixpanelCreateIdentity = action("MIXPANEL_CREATE_IDENTITY", {
|
|
|
14
14
|
output: z.object({
|
|
15
15
|
error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
16
16
|
status: z.union([z.number().int(), z.string()])
|
|
17
|
-
}).describe("Response model for identity creation.")
|
|
17
|
+
}).passthrough().describe("Response model for identity creation.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { mixpanelCreateIdentity };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-identity.mjs","names":[],"sources":["../../src/actions/create-identity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateIdentityInput = z.object({\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n strict: z.union([z.literal(0), z.literal(1)]).describe(\"Validation mode for the request.\").optional(),\n anon_id: z.string().describe(\"The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.\"),\n distinct_id: z.string().describe(\"Optional distinct ID. If provided, this will be used as the post-ID for the identity.\").optional(),\n identified_id: z.string().describe(\"The identified user ID to link with the anonymous ID. This is typically the user's ID after they sign up or log in.\"),\n}).describe(\"Request model for creating an identity in Mixpanel.\");\nexport const MixpanelCreateIdentityOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).describe(\"Response model for identity creation.\");\n\nexport const mixpanelCreateIdentity = action(\"MIXPANEL_CREATE_IDENTITY\", {\n slug: \"mixpanel-create-identity\",\n name: \"Create Identity\",\n description: \"Tool to create an identity mapping in Mixpanel by linking an anonymous ID with an identified user ID. Use when you need to connect pre-login anonymous activity with post-login identified user activity. This operation is typically performed after user authentication to associate all previous anonymous events with the user's identified profile.\",\n input: MixpanelCreateIdentityInput,\n output: MixpanelCreateIdentityOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,QAAQ,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACvK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACnI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC1J,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-identity.mjs","names":[],"sources":["../../src/actions/create-identity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateIdentityInput = z.object({\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n strict: z.union([z.literal(0), z.literal(1)]).describe(\"Validation mode for the request.\").optional(),\n anon_id: z.string().describe(\"The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.\"),\n distinct_id: z.string().describe(\"Optional distinct ID. If provided, this will be used as the post-ID for the identity.\").optional(),\n identified_id: z.string().describe(\"The identified user ID to link with the anonymous ID. This is typically the user's ID after they sign up or log in.\"),\n}).describe(\"Request model for creating an identity in Mixpanel.\");\nexport const MixpanelCreateIdentityOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).passthrough().describe(\"Response model for identity creation.\");\n\nexport const mixpanelCreateIdentity = action(\"MIXPANEL_CREATE_IDENTITY\", {\n slug: \"mixpanel-create-identity\",\n name: \"Create Identity\",\n description: \"Tool to create an identity mapping in Mixpanel by linking an anonymous ID with an identified user ID. Use when you need to connect pre-login anonymous activity with post-login identified user activity. This operation is typically performed after user authentication to associate all previous anonymous events with the user's identified profile.\",\n input: MixpanelCreateIdentityInput,\n output: MixpanelCreateIdentityOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,QAAQ,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACvK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACnI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC1J,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const MixpanelCreateServiceAccountInput = zod.z.object({
|
|
|
17
17
|
"analyst",
|
|
18
18
|
"consumer"
|
|
19
19
|
]).describe("The role to assign to the service account within this project")
|
|
20
|
-
}).describe("Model representing a project assignment for the service account.")).describe("List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.").optional(),
|
|
20
|
+
}).passthrough().describe("Model representing a project assignment for the service account.")).describe("List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.").optional(),
|
|
21
21
|
username: zod.z.string().describe("A descriptive name for the service account"),
|
|
22
22
|
organization_id: zod.z.string().describe("The unique identifier for the organization")
|
|
23
23
|
}).describe("Request model for creating a new service account for an organization.");
|
|
@@ -30,11 +30,11 @@ const MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = zod.z.object({
|
|
|
30
30
|
expires: zod.z.string().describe("ISO 8601 date-time when the account expires (null if no expiration)").nullable().optional(),
|
|
31
31
|
username: zod.z.string().describe("The service account username").nullable(),
|
|
32
32
|
last_used: zod.z.string().describe("ISO 8601 date-time of last authentication (null if never used)").nullable().optional()
|
|
33
|
-
}).describe("Model representing the created service account details.");
|
|
33
|
+
}).passthrough().describe("Model representing the created service account details.");
|
|
34
34
|
const MixpanelCreateServiceAccountOutput = zod.z.object({
|
|
35
35
|
status: zod.z.string().describe("Status of the response, typically 'ok' for successful creation").nullable(),
|
|
36
36
|
results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable()
|
|
37
|
-
}).describe("Response model for the created service account.");
|
|
37
|
+
}).passthrough().describe("Response model for the created service account.");
|
|
38
38
|
const mixpanelCreateServiceAccount = require_action.action("MIXPANEL_CREATE_SERVICE_ACCOUNT", {
|
|
39
39
|
slug: "mixpanel-create-service-account",
|
|
40
40
|
name: "Create Service Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-service-account.cjs","names":["z","action"],"sources":["../../src/actions/create-service-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateServiceAccountInput = z.object({\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The organization-level role for the service account. If not specified, service account will have no organization-level role.\").optional(),\n expires: z.string().describe(\"ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.\").optional(),\n projects: z.array(z.object({\n id: z.number().int().describe(\"The unique identifier for the project\"),\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The role to assign to the service account within this project\"),\n}).describe(\"Model representing a project assignment for the service account.\")).describe(\"List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.\").optional(),\n username: z.string().describe(\"A descriptive name for the service account\"),\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for creating a new service account for an organization.\");\nconst MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.unknown().describe(\"User details object\").nullable().optional(),\n token: z.string().describe(\"The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.\").nullable(),\n created: z.string().describe(\"ISO 8601 date-time when the account was created\").nullable(),\n creator: z.number().int().describe(\"Mixpanel user ID that created this service account\").nullable(),\n expires: z.string().describe(\"ISO 8601 date-time when the account expires (null if no expiration)\").nullable().optional(),\n username: z.string().describe(\"The service account username\").nullable(),\n last_used: z.string().describe(\"ISO 8601 date-time of last authentication (null if never used)\").nullable().optional(),\n}).describe(\"Model representing the created service account details.\");\nexport const MixpanelCreateServiceAccountOutput = z.object({\n status: z.string().describe(\"Status of the response, typically 'ok' for successful creation\").nullable(),\n results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable(),\n}).describe(\"Response model for the created service account.\");\n\nexport const mixpanelCreateServiceAccount = action(\"MIXPANEL_CREATE_SERVICE_ACCOUNT\", {\n slug: \"mixpanel-create-service-account\",\n name: \"Create Service Account\",\n description: \"Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.\",\n input: MixpanelCreateServiceAccountInput,\n output: MixpanelCreateServiceAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC1M,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAClI,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-service-account.cjs","names":["z","action"],"sources":["../../src/actions/create-service-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateServiceAccountInput = z.object({\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The organization-level role for the service account. If not specified, service account will have no organization-level role.\").optional(),\n expires: z.string().describe(\"ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.\").optional(),\n projects: z.array(z.object({\n id: z.number().int().describe(\"The unique identifier for the project\"),\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The role to assign to the service account within this project\"),\n}).passthrough().describe(\"Model representing a project assignment for the service account.\")).describe(\"List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.\").optional(),\n username: z.string().describe(\"A descriptive name for the service account\"),\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for creating a new service account for an organization.\");\nconst MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.unknown().describe(\"User details object\").nullable().optional(),\n token: z.string().describe(\"The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.\").nullable(),\n created: z.string().describe(\"ISO 8601 date-time when the account was created\").nullable(),\n creator: z.number().int().describe(\"Mixpanel user ID that created this service account\").nullable(),\n expires: z.string().describe(\"ISO 8601 date-time when the account expires (null if no expiration)\").nullable().optional(),\n username: z.string().describe(\"The service account username\").nullable(),\n last_used: z.string().describe(\"ISO 8601 date-time of last authentication (null if never used)\").nullable().optional(),\n}).passthrough().describe(\"Model representing the created service account details.\");\nexport const MixpanelCreateServiceAccountOutput = z.object({\n status: z.string().describe(\"Status of the response, typically 'ok' for successful creation\").nullable(),\n results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable(),\n}).passthrough().describe(\"Response model for the created service account.\");\n\nexport const mixpanelCreateServiceAccount = action(\"MIXPANEL_CREATE_SERVICE_ACCOUNT\", {\n slug: \"mixpanel-create-service-account\",\n name: \"Create Service Account\",\n description: \"Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.\",\n input: MixpanelCreateServiceAccountInput,\n output: MixpanelCreateServiceAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC1M,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAChQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,SAAS,yDAAyD,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const MixpanelCreateServiceAccountInput: z.ZodObject<{
|
|
|
17
17
|
analyst: "analyst";
|
|
18
18
|
consumer: "consumer";
|
|
19
19
|
}>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
username: z.ZodString;
|
|
22
22
|
organization_id: z.ZodString;
|
|
23
23
|
}, z.core.$strip>;
|
|
@@ -32,14 +32,15 @@ declare const MixpanelCreateServiceAccountOutput: z.ZodObject<{
|
|
|
32
32
|
expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
username: z.ZodNullable<z.ZodString>;
|
|
34
34
|
last_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const mixpanelCreateServiceAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
username: string;
|
|
39
39
|
organization_id: string;
|
|
40
40
|
role?: "owner" | "admin" | "analyst" | "consumer" | undefined;
|
|
41
41
|
expires?: string | undefined;
|
|
42
42
|
projects?: {
|
|
43
|
+
[x: string]: unknown;
|
|
43
44
|
id: number;
|
|
44
45
|
role: "owner" | "admin" | "analyst" | "consumer";
|
|
45
46
|
}[] | undefined;
|
|
@@ -17,7 +17,7 @@ declare const MixpanelCreateServiceAccountInput: z.ZodObject<{
|
|
|
17
17
|
analyst: "analyst";
|
|
18
18
|
consumer: "consumer";
|
|
19
19
|
}>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
username: z.ZodString;
|
|
22
22
|
organization_id: z.ZodString;
|
|
23
23
|
}, z.core.$strip>;
|
|
@@ -32,14 +32,15 @@ declare const MixpanelCreateServiceAccountOutput: z.ZodObject<{
|
|
|
32
32
|
expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
username: z.ZodNullable<z.ZodString>;
|
|
34
34
|
last_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const mixpanelCreateServiceAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
username: string;
|
|
39
39
|
organization_id: string;
|
|
40
40
|
role?: "owner" | "admin" | "analyst" | "consumer" | undefined;
|
|
41
41
|
expires?: string | undefined;
|
|
42
42
|
projects?: {
|
|
43
|
+
[x: string]: unknown;
|
|
43
44
|
id: number;
|
|
44
45
|
role: "owner" | "admin" | "analyst" | "consumer";
|
|
45
46
|
}[] | undefined;
|
|
@@ -17,7 +17,7 @@ const MixpanelCreateServiceAccountInput = z.object({
|
|
|
17
17
|
"analyst",
|
|
18
18
|
"consumer"
|
|
19
19
|
]).describe("The role to assign to the service account within this project")
|
|
20
|
-
}).describe("Model representing a project assignment for the service account.")).describe("List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.").optional(),
|
|
20
|
+
}).passthrough().describe("Model representing a project assignment for the service account.")).describe("List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.").optional(),
|
|
21
21
|
username: z.string().describe("A descriptive name for the service account"),
|
|
22
22
|
organization_id: z.string().describe("The unique identifier for the organization")
|
|
23
23
|
}).describe("Request model for creating a new service account for an organization.");
|
|
@@ -30,7 +30,7 @@ const MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = z.object({
|
|
|
30
30
|
expires: z.string().describe("ISO 8601 date-time when the account expires (null if no expiration)").nullable().optional(),
|
|
31
31
|
username: z.string().describe("The service account username").nullable(),
|
|
32
32
|
last_used: z.string().describe("ISO 8601 date-time of last authentication (null if never used)").nullable().optional()
|
|
33
|
-
}).describe("Model representing the created service account details.");
|
|
33
|
+
}).passthrough().describe("Model representing the created service account details.");
|
|
34
34
|
const mixpanelCreateServiceAccount = action("MIXPANEL_CREATE_SERVICE_ACCOUNT", {
|
|
35
35
|
slug: "mixpanel-create-service-account",
|
|
36
36
|
name: "Create Service Account",
|
|
@@ -39,7 +39,7 @@ const mixpanelCreateServiceAccount = action("MIXPANEL_CREATE_SERVICE_ACCOUNT", {
|
|
|
39
39
|
output: z.object({
|
|
40
40
|
status: z.string().describe("Status of the response, typically 'ok' for successful creation").nullable(),
|
|
41
41
|
results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable()
|
|
42
|
-
}).describe("Response model for the created service account.")
|
|
42
|
+
}).passthrough().describe("Response model for the created service account.")
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { mixpanelCreateServiceAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-service-account.mjs","names":[],"sources":["../../src/actions/create-service-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateServiceAccountInput = z.object({\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The organization-level role for the service account. If not specified, service account will have no organization-level role.\").optional(),\n expires: z.string().describe(\"ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.\").optional(),\n projects: z.array(z.object({\n id: z.number().int().describe(\"The unique identifier for the project\"),\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The role to assign to the service account within this project\"),\n}).describe(\"Model representing a project assignment for the service account.\")).describe(\"List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.\").optional(),\n username: z.string().describe(\"A descriptive name for the service account\"),\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for creating a new service account for an organization.\");\nconst MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.unknown().describe(\"User details object\").nullable().optional(),\n token: z.string().describe(\"The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.\").nullable(),\n created: z.string().describe(\"ISO 8601 date-time when the account was created\").nullable(),\n creator: z.number().int().describe(\"Mixpanel user ID that created this service account\").nullable(),\n expires: z.string().describe(\"ISO 8601 date-time when the account expires (null if no expiration)\").nullable().optional(),\n username: z.string().describe(\"The service account username\").nullable(),\n last_used: z.string().describe(\"ISO 8601 date-time of last authentication (null if never used)\").nullable().optional(),\n}).describe(\"Model representing the created service account details.\");\nexport const MixpanelCreateServiceAccountOutput = z.object({\n status: z.string().describe(\"Status of the response, typically 'ok' for successful creation\").nullable(),\n results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable(),\n}).describe(\"Response model for the created service account.\");\n\nexport const mixpanelCreateServiceAccount = action(\"MIXPANEL_CREATE_SERVICE_ACCOUNT\", {\n slug: \"mixpanel-create-service-account\",\n name: \"Create Service Account\",\n description: \"Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.\",\n input: MixpanelCreateServiceAccountInput,\n output: MixpanelCreateServiceAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,KAAK;EAAC;EAAS;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC1M,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAM,EAAE,KAAK;GAAC;GAAS;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAClI,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-service-account.mjs","names":[],"sources":["../../src/actions/create-service-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateServiceAccountInput = z.object({\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The organization-level role for the service account. If not specified, service account will have no organization-level role.\").optional(),\n expires: z.string().describe(\"ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.\").optional(),\n projects: z.array(z.object({\n id: z.number().int().describe(\"The unique identifier for the project\"),\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The role to assign to the service account within this project\"),\n}).passthrough().describe(\"Model representing a project assignment for the service account.\")).describe(\"List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.\").optional(),\n username: z.string().describe(\"A descriptive name for the service account\"),\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for creating a new service account for an organization.\");\nconst MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.unknown().describe(\"User details object\").nullable().optional(),\n token: z.string().describe(\"The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.\").nullable(),\n created: z.string().describe(\"ISO 8601 date-time when the account was created\").nullable(),\n creator: z.number().int().describe(\"Mixpanel user ID that created this service account\").nullable(),\n expires: z.string().describe(\"ISO 8601 date-time when the account expires (null if no expiration)\").nullable().optional(),\n username: z.string().describe(\"The service account username\").nullable(),\n last_used: z.string().describe(\"ISO 8601 date-time of last authentication (null if never used)\").nullable().optional(),\n}).passthrough().describe(\"Model representing the created service account details.\");\nexport const MixpanelCreateServiceAccountOutput = z.object({\n status: z.string().describe(\"Status of the response, typically 'ok' for successful creation\").nullable(),\n results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable(),\n}).passthrough().describe(\"Response model for the created service account.\");\n\nexport const mixpanelCreateServiceAccount = action(\"MIXPANEL_CREATE_SERVICE_ACCOUNT\", {\n slug: \"mixpanel-create-service-account\",\n name: \"Create Service Account\",\n description: \"Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.\",\n input: MixpanelCreateServiceAccountInput,\n output: MixpanelCreateServiceAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,KAAK;EAAC;EAAS;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC1M,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAM,EAAE,KAAK;GAAC;GAAS;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAChQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAMnF,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACvG,SAAS,yDAAyD,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const MixpanelDeleteGroupInput = zod.z.object({
|
|
|
10
10
|
const MixpanelDeleteGroupOutput = zod.z.object({
|
|
11
11
|
error: zod.z.string().describe("Error message if the request failed, otherwise null.").nullable().optional(),
|
|
12
12
|
status: zod.z.union([zod.z.string(), zod.z.number().int()])
|
|
13
|
-
}).describe("Response model for group profile deletion.");
|
|
13
|
+
}).passthrough().describe("Response model for group profile deletion.");
|
|
14
14
|
const mixpanelDeleteGroup = require_action.action("MIXPANEL_DELETE_GROUP", {
|
|
15
15
|
slug: "mixpanel-delete-group",
|
|
16
16
|
name: "Delete Group",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.cjs","names":["z","action"],"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":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACjK,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"delete-group.cjs","names":["z","action"],"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":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACjK,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,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,4CAA4C;AAEtE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const MixpanelDeleteGroupInput: z.ZodObject<{
|
|
|
10
10
|
declare const MixpanelDeleteGroupOutput: z.ZodObject<{
|
|
11
11
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const mixpanelDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
token: string;
|
|
16
16
|
group_id: string;
|
|
@@ -10,7 +10,7 @@ declare const MixpanelDeleteGroupInput: z.ZodObject<{
|
|
|
10
10
|
declare const MixpanelDeleteGroupOutput: z.ZodObject<{
|
|
11
11
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const mixpanelDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
token: string;
|
|
16
16
|
group_id: string;
|
|
@@ -13,7 +13,7 @@ const mixpanelDeleteGroup = action("MIXPANEL_DELETE_GROUP", {
|
|
|
13
13
|
output: z.object({
|
|
14
14
|
error: z.string().describe("Error message if the request failed, otherwise null.").nullable().optional(),
|
|
15
15
|
status: z.union([z.string(), z.number().int()])
|
|
16
|
-
}).describe("Response model for group profile deletion.")
|
|
16
|
+
}).passthrough().describe("Response model for group profile deletion.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { mixpanelDeleteGroup };
|
|
@@ -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,14 +7,15 @@ 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;
|
|
@@ -7,14 +7,15 @@ 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;
|
|
@@ -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[];
|
|
@@ -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[];
|
|
@@ -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,7 +10,7 @@ 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;
|
|
@@ -10,7 +10,7 @@ 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;
|
|
@@ -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,8 +3,8 @@ 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.$
|
|
6
|
+
projects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const mixpanelGetAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { mixpanelGetAllProjects };
|
|
@@ -3,8 +3,8 @@ 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.$
|
|
6
|
+
projects: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const mixpanelGetAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { mixpanelGetAllProjects };
|