@keystrokehq/plausible_analytics 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/check-health.cjs +1 -1
- package/dist/actions/check-health.cjs.map +1 -1
- package/dist/actions/check-health.d.cts +6 -3
- package/dist/actions/check-health.d.cts.map +1 -1
- package/dist/actions/check-health.d.mts +6 -3
- package/dist/actions/check-health.d.mts.map +1 -1
- package/dist/actions/check-health.mjs +1 -1
- package/dist/actions/check-health.mjs.map +1 -1
- package/dist/actions/get-breakdown-stats.cjs +2 -2
- package/dist/actions/get-breakdown-stats.cjs.map +1 -1
- package/dist/actions/get-breakdown-stats.d.cts +52 -3
- package/dist/actions/get-breakdown-stats.d.cts.map +1 -1
- package/dist/actions/get-breakdown-stats.d.mts +52 -3
- package/dist/actions/get-breakdown-stats.d.mts.map +1 -1
- package/dist/actions/get-breakdown-stats.mjs +2 -2
- package/dist/actions/get-breakdown-stats.mjs.map +1 -1
- package/dist/actions/get-plugin-capabilities.cjs +13 -13
- package/dist/actions/get-plugin-capabilities.cjs.map +1 -1
- package/dist/actions/get-plugin-capabilities.d.cts +19 -3
- package/dist/actions/get-plugin-capabilities.d.cts.map +1 -1
- package/dist/actions/get-plugin-capabilities.d.mts +19 -3
- package/dist/actions/get-plugin-capabilities.d.mts.map +1 -1
- package/dist/actions/get-plugin-capabilities.mjs +13 -13
- package/dist/actions/get-plugin-capabilities.mjs.map +1 -1
- package/dist/actions/get-realtime-visitors.cjs +1 -1
- package/dist/actions/get-realtime-visitors.cjs.map +1 -1
- package/dist/actions/get-realtime-visitors.d.cts +9 -3
- package/dist/actions/get-realtime-visitors.d.cts.map +1 -1
- package/dist/actions/get-realtime-visitors.d.mts +9 -3
- package/dist/actions/get-realtime-visitors.d.mts.map +1 -1
- package/dist/actions/get-realtime-visitors.mjs +1 -1
- package/dist/actions/get-realtime-visitors.mjs.map +1 -1
- package/dist/actions/get-site.cjs +13 -13
- package/dist/actions/get-site.cjs.map +1 -1
- package/dist/actions/get-site.d.cts +23 -3
- package/dist/actions/get-site.d.cts.map +1 -1
- package/dist/actions/get-site.d.mts +23 -3
- package/dist/actions/get-site.d.mts.map +1 -1
- package/dist/actions/get-site.mjs +13 -13
- package/dist/actions/get-site.mjs.map +1 -1
- package/dist/actions/get-timeseries-stats.cjs +3 -3
- package/dist/actions/get-timeseries-stats.cjs.map +1 -1
- package/dist/actions/get-timeseries-stats.d.cts +32 -3
- package/dist/actions/get-timeseries-stats.d.cts.map +1 -1
- package/dist/actions/get-timeseries-stats.d.mts +32 -3
- package/dist/actions/get-timeseries-stats.d.mts.map +1 -1
- package/dist/actions/get-timeseries-stats.mjs +3 -3
- package/dist/actions/get-timeseries-stats.mjs.map +1 -1
- package/dist/actions/list-custom-props.cjs +2 -2
- package/dist/actions/list-custom-props.cjs.map +1 -1
- package/dist/actions/list-custom-props.d.cts +11 -3
- package/dist/actions/list-custom-props.d.cts.map +1 -1
- package/dist/actions/list-custom-props.d.mts +11 -3
- package/dist/actions/list-custom-props.d.mts.map +1 -1
- package/dist/actions/list-custom-props.mjs +2 -2
- package/dist/actions/list-custom-props.mjs.map +1 -1
- package/dist/actions/list-goals.cjs +4 -4
- package/dist/actions/list-goals.cjs.map +1 -1
- package/dist/actions/list-goals.d.cts +27 -3
- package/dist/actions/list-goals.d.cts.map +1 -1
- package/dist/actions/list-goals.d.mts +27 -3
- package/dist/actions/list-goals.d.mts.map +1 -1
- package/dist/actions/list-goals.mjs +4 -4
- package/dist/actions/list-goals.mjs.map +1 -1
- package/dist/actions/list-guests.cjs +5 -5
- package/dist/actions/list-guests.cjs.map +1 -1
- package/dist/actions/list-guests.d.cts +13 -3
- package/dist/actions/list-guests.d.cts.map +1 -1
- package/dist/actions/list-guests.d.mts +13 -3
- package/dist/actions/list-guests.d.mts.map +1 -1
- package/dist/actions/list-guests.mjs +5 -5
- package/dist/actions/list-guests.mjs.map +1 -1
- package/dist/actions/list-sites.cjs +6 -6
- package/dist/actions/list-sites.cjs.map +1 -1
- package/dist/actions/list-sites.d.cts +23 -3
- package/dist/actions/list-sites.d.cts.map +1 -1
- package/dist/actions/list-sites.d.mts +23 -3
- package/dist/actions/list-sites.d.mts.map +1 -1
- package/dist/actions/list-sites.mjs +6 -6
- package/dist/actions/list-sites.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +3 -3
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +22 -3
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +22 -3
- package/dist/actions/list-teams.d.mts.map +1 -1
- package/dist/actions/list-teams.mjs +3 -3
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/actions/query-stats.cjs +3 -3
- package/dist/actions/query-stats.cjs.map +1 -1
- package/dist/actions/query-stats.d.cts +23 -3
- package/dist/actions/query-stats.d.cts.map +1 -1
- package/dist/actions/query-stats.d.mts +23 -3
- package/dist/actions/query-stats.d.mts.map +1 -1
- package/dist/actions/query-stats.mjs +3 -3
- package/dist/actions/query-stats.mjs.map +1 -1
- package/dist/actions/record-event.cjs +4 -4
- package/dist/actions/record-event.cjs.map +1 -1
- package/dist/actions/record-event.d.cts +32 -3
- package/dist/actions/record-event.d.cts.map +1 -1
- package/dist/actions/record-event.d.mts +32 -3
- package/dist/actions/record-event.d.mts.map +1 -1
- package/dist/actions/record-event.mjs +4 -4
- package/dist/actions/record-event.mjs.map +1 -1
- package/dist/catalog.cjs +14 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +13 -0
- package/dist/catalog.d.mts +13 -0
- package/dist/catalog.mjs +14 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2,13 +2,13 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/list-custom-props.ts
|
|
4
4
|
const PlausibleAnalyticsListCustomPropsInput = z.object({ site_id: z.string().describe("Domain of the site to retrieve custom properties for.") }).describe("Request model for listing all custom properties configured for a site.");
|
|
5
|
-
const PlausibleAnalyticsListCustomProps_CustomPropertySchema = z.object({ property: z.string().describe("Name of the custom property.") }).describe("Represents a single custom property configured for a site.");
|
|
5
|
+
const PlausibleAnalyticsListCustomProps_CustomPropertySchema = z.object({ property: z.string().describe("Name of the custom property.").nullable() }).passthrough().describe("Represents a single custom property configured for a site.");
|
|
6
6
|
const plausibleAnalyticsListCustomProps = action("PLAUSIBLE_ANALYTICS_LIST_CUSTOM_PROPS", {
|
|
7
7
|
slug: "plausible_analytics-list-custom-props",
|
|
8
8
|
name: "List Custom Properties",
|
|
9
9
|
description: "Tool to list all custom properties configured for a site. Use when you need to retrieve custom property configurations for a Plausible Analytics site. Enterprise feature only.",
|
|
10
10
|
input: PlausibleAnalyticsListCustomPropsInput,
|
|
11
|
-
output: z.object({ custom_properties: z.array(PlausibleAnalyticsListCustomProps_CustomPropertySchema).describe("List of custom properties configured for the site.") }).describe("Response containing the list of custom properties configured for a site.")
|
|
11
|
+
output: z.object({ custom_properties: z.array(PlausibleAnalyticsListCustomProps_CustomPropertySchema).describe("List of custom properties configured for the site.") }).passthrough().describe("Response containing the list of custom properties configured for a site.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { plausibleAnalyticsListCustomProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-props.mjs","names":[],"sources":["../../src/actions/list-custom-props.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListCustomPropsInput
|
|
1
|
+
{"version":3,"file":"list-custom-props.mjs","names":[],"sources":["../../src/actions/list-custom-props.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListCustomPropsInput = z.object({\n site_id: z.string().describe(\"Domain of the site to retrieve custom properties for.\"),\n}).describe(\"Request model for listing all custom properties configured for a site.\");\nconst PlausibleAnalyticsListCustomProps_CustomPropertySchema = z.object({\n property: z.string().describe(\"Name of the custom property.\").nullable(),\n}).passthrough().describe(\"Represents a single custom property configured for a site.\");\nexport const PlausibleAnalyticsListCustomPropsOutput = z.object({\n custom_properties: z.array(PlausibleAnalyticsListCustomProps_CustomPropertySchema).describe(\"List of custom properties configured for the site.\"),\n}).passthrough().describe(\"Response containing the list of custom properties configured for a site.\");\n\nexport const plausibleAnalyticsListCustomProps = action(\"PLAUSIBLE_ANALYTICS_LIST_CUSTOM_PROPS\", {\n slug: \"plausible_analytics-list-custom-props\",\n name: \"List Custom Properties\",\n description: \"Tool to list all custom properties configured for a site. Use when you need to retrieve custom property configurations for a Plausible Analytics site. Enterprise feature only.\",\n input: PlausibleAnalyticsListCustomPropsInput,\n output: PlausibleAnalyticsListCustomPropsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO,EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACtF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,yDAAyD,EAAE,OAAO,EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAKtF,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,mBAAmB,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,oDAAoD,EAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAOhB;AACV,CAAC"}
|
|
@@ -11,19 +11,19 @@ const PlausibleAnalyticsListGoals_MetaSchema = zod.z.object({
|
|
|
11
11
|
after: zod.z.number().int().describe("Cursor for pagination (after).").nullable().optional(),
|
|
12
12
|
limit: zod.z.number().int().describe("Maximum number of items per page.").nullable().optional(),
|
|
13
13
|
before: zod.z.number().int().describe("Cursor for pagination (before).").nullable().optional()
|
|
14
|
-
}).describe("Metadata about the goals response.");
|
|
14
|
+
}).passthrough().describe("Metadata about the goals response.");
|
|
15
15
|
const PlausibleAnalyticsListGoals_GoalSchema = zod.z.object({
|
|
16
16
|
id: zod.z.union([zod.z.string(), zod.z.number().int()]).nullable().optional(),
|
|
17
17
|
goal_type: zod.z.string().describe("Type of the goal (e.g., custom_event, page_view).").nullable().optional(),
|
|
18
18
|
page_path: zod.z.string().describe("Page path for page view goals.").nullable().optional(),
|
|
19
19
|
event_name: zod.z.string().describe("Name of the custom event associated with the goal.").nullable().optional(),
|
|
20
|
-
custom_props: zod.z.union([zod.z.
|
|
20
|
+
custom_props: zod.z.union([zod.z.record(zod.z.string(), zod.z.unknown()), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional(),
|
|
21
21
|
display_name: zod.z.string().describe("Human-readable display name for the goal.").nullable().optional()
|
|
22
|
-
}).describe("Represents a single goal configured for a site.\nGoals track conversions and custom actions.");
|
|
22
|
+
}).passthrough().describe("Represents a single goal configured for a site.\nGoals track conversions and custom actions.");
|
|
23
23
|
const PlausibleAnalyticsListGoalsOutput = zod.z.object({
|
|
24
24
|
meta: PlausibleAnalyticsListGoals_MetaSchema.nullable().optional(),
|
|
25
25
|
goals: zod.z.array(PlausibleAnalyticsListGoals_GoalSchema).describe("List of goals configured for the site.")
|
|
26
|
-
}).describe("Response containing the list of goals configured for a site.");
|
|
26
|
+
}).passthrough().describe("Response containing the list of goals configured for a site.");
|
|
27
27
|
const plausibleAnalyticsListGoals = require_action.action("PLAUSIBLE_ANALYTICS_LIST_GOALS", {
|
|
28
28
|
slug: "plausible_analytics-list-goals",
|
|
29
29
|
name: "List Goals",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-goals.cjs","names":["z","action"],"sources":["../../src/actions/list-goals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListGoalsInput
|
|
1
|
+
{"version":3,"file":"list-goals.cjs","names":["z","action"],"sources":["../../src/actions/list-goals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListGoalsInput = z.object({\n after: z.number().int().describe(\"Pagination cursor for fetching the next page of results. Use the 'after' value from a previous response's meta.\").optional(),\n limit: z.number().int().describe(\"Maximum number of goals to return per page. Defaults to API default if not specified.\").optional(),\n before: z.number().int().describe(\"Pagination cursor for fetching the previous page of results. Use the 'before' value from a previous response's meta.\").optional(),\n site_id: z.string().describe(\"Domain of the site to retrieve goals for.\"),\n}).describe(\"Request model for listing goals configured for a site.\");\nconst PlausibleAnalyticsListGoals_MetaSchema = z.object({\n after: z.number().int().describe(\"Cursor for pagination (after).\").nullable().optional(),\n limit: z.number().int().describe(\"Maximum number of items per page.\").nullable().optional(),\n before: z.number().int().describe(\"Cursor for pagination (before).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the goals response.\");\nconst PlausibleAnalyticsListGoals_GoalSchema = z.object({\n id: z.union([z.string(), z.number().int()]).nullable().optional(),\n goal_type: z.string().describe(\"Type of the goal (e.g., custom_event, page_view).\").nullable().optional(),\n page_path: z.string().describe(\"Page path for page view goals.\").nullable().optional(),\n event_name: z.string().describe(\"Name of the custom event associated with the goal.\").nullable().optional(),\n custom_props: z.union([z.record(z.string(), z.unknown()), z.record(z.string(), z.unknown())]).nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the goal.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single goal configured for a site.\\nGoals track conversions and custom actions.\");\nexport const PlausibleAnalyticsListGoalsOutput = z.object({\n meta: PlausibleAnalyticsListGoals_MetaSchema.nullable().optional(),\n goals: z.array(PlausibleAnalyticsListGoals_GoalSchema).describe(\"List of goals configured for the site.\"),\n}).passthrough().describe(\"Response containing the list of goals configured for a site.\");\n\nexport const plausibleAnalyticsListGoals = action(\"PLAUSIBLE_ANALYTICS_LIST_GOALS\", {\n slug: \"plausible_analytics-list-goals\",\n name: \"List Goals\",\n description: \"Tool to list all goals configured for a site. Use when you need to retrieve conversion goals and custom action tracking configured for a Plausible Analytics site.\",\n input: PlausibleAnalyticsListGoalsInput,\n output: PlausibleAnalyticsListGoalsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC7J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACnI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC1E,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AACxH,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAM,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wCAAwC;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-goals.d.ts
|
|
4
|
-
declare const PlausibleAnalyticsListGoalsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlausibleAnalyticsListGoalsInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
site_id: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PlausibleAnalyticsListGoalsOutput: z.ZodObject<{
|
|
11
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
after: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
|
+
goals: z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
18
|
+
goal_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
page_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
event_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
custom_props: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
22
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const plausibleAnalyticsListGoals: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
site_id: string;
|
|
27
|
+
after?: number | undefined;
|
|
28
|
+
limit?: number | undefined;
|
|
29
|
+
before?: number | undefined;
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
31
|
//#endregion
|
|
8
32
|
export { plausibleAnalyticsListGoals };
|
|
9
33
|
//# sourceMappingURL=list-goals.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-goals.d.cts","names":[],"sources":["../../src/actions/list-goals.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"list-goals.d.cts","names":[],"sources":["../../src/actions/list-goals.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAmBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-goals.d.ts
|
|
4
|
-
declare const PlausibleAnalyticsListGoalsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlausibleAnalyticsListGoalsInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
site_id: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PlausibleAnalyticsListGoalsOutput: z.ZodObject<{
|
|
11
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
after: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
|
+
goals: z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
18
|
+
goal_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
page_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
event_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
custom_props: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
22
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const plausibleAnalyticsListGoals: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
site_id: string;
|
|
27
|
+
after?: number | undefined;
|
|
28
|
+
limit?: number | undefined;
|
|
29
|
+
before?: number | undefined;
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
31
|
//#endregion
|
|
8
32
|
export { plausibleAnalyticsListGoals };
|
|
9
33
|
//# sourceMappingURL=list-goals.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-goals.d.mts","names":[],"sources":["../../src/actions/list-goals.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"list-goals.d.mts","names":[],"sources":["../../src/actions/list-goals.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAmBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -11,15 +11,15 @@ const PlausibleAnalyticsListGoals_MetaSchema = z.object({
|
|
|
11
11
|
after: z.number().int().describe("Cursor for pagination (after).").nullable().optional(),
|
|
12
12
|
limit: z.number().int().describe("Maximum number of items per page.").nullable().optional(),
|
|
13
13
|
before: z.number().int().describe("Cursor for pagination (before).").nullable().optional()
|
|
14
|
-
}).describe("Metadata about the goals response.");
|
|
14
|
+
}).passthrough().describe("Metadata about the goals response.");
|
|
15
15
|
const PlausibleAnalyticsListGoals_GoalSchema = z.object({
|
|
16
16
|
id: z.union([z.string(), z.number().int()]).nullable().optional(),
|
|
17
17
|
goal_type: z.string().describe("Type of the goal (e.g., custom_event, page_view).").nullable().optional(),
|
|
18
18
|
page_path: z.string().describe("Page path for page view goals.").nullable().optional(),
|
|
19
19
|
event_name: z.string().describe("Name of the custom event associated with the goal.").nullable().optional(),
|
|
20
|
-
custom_props: z.union([z.
|
|
20
|
+
custom_props: z.union([z.record(z.string(), z.unknown()), z.record(z.string(), z.unknown())]).nullable().optional(),
|
|
21
21
|
display_name: z.string().describe("Human-readable display name for the goal.").nullable().optional()
|
|
22
|
-
}).describe("Represents a single goal configured for a site.\nGoals track conversions and custom actions.");
|
|
22
|
+
}).passthrough().describe("Represents a single goal configured for a site.\nGoals track conversions and custom actions.");
|
|
23
23
|
const plausibleAnalyticsListGoals = action("PLAUSIBLE_ANALYTICS_LIST_GOALS", {
|
|
24
24
|
slug: "plausible_analytics-list-goals",
|
|
25
25
|
name: "List Goals",
|
|
@@ -28,7 +28,7 @@ const plausibleAnalyticsListGoals = action("PLAUSIBLE_ANALYTICS_LIST_GOALS", {
|
|
|
28
28
|
output: z.object({
|
|
29
29
|
meta: PlausibleAnalyticsListGoals_MetaSchema.nullable().optional(),
|
|
30
30
|
goals: z.array(PlausibleAnalyticsListGoals_GoalSchema).describe("List of goals configured for the site.")
|
|
31
|
-
}).describe("Response containing the list of goals configured for a site.")
|
|
31
|
+
}).passthrough().describe("Response containing the list of goals configured for a site.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { plausibleAnalyticsListGoals };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-goals.mjs","names":[],"sources":["../../src/actions/list-goals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListGoalsInput
|
|
1
|
+
{"version":3,"file":"list-goals.mjs","names":[],"sources":["../../src/actions/list-goals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListGoalsInput = z.object({\n after: z.number().int().describe(\"Pagination cursor for fetching the next page of results. Use the 'after' value from a previous response's meta.\").optional(),\n limit: z.number().int().describe(\"Maximum number of goals to return per page. Defaults to API default if not specified.\").optional(),\n before: z.number().int().describe(\"Pagination cursor for fetching the previous page of results. Use the 'before' value from a previous response's meta.\").optional(),\n site_id: z.string().describe(\"Domain of the site to retrieve goals for.\"),\n}).describe(\"Request model for listing goals configured for a site.\");\nconst PlausibleAnalyticsListGoals_MetaSchema = z.object({\n after: z.number().int().describe(\"Cursor for pagination (after).\").nullable().optional(),\n limit: z.number().int().describe(\"Maximum number of items per page.\").nullable().optional(),\n before: z.number().int().describe(\"Cursor for pagination (before).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the goals response.\");\nconst PlausibleAnalyticsListGoals_GoalSchema = z.object({\n id: z.union([z.string(), z.number().int()]).nullable().optional(),\n goal_type: z.string().describe(\"Type of the goal (e.g., custom_event, page_view).\").nullable().optional(),\n page_path: z.string().describe(\"Page path for page view goals.\").nullable().optional(),\n event_name: z.string().describe(\"Name of the custom event associated with the goal.\").nullable().optional(),\n custom_props: z.union([z.record(z.string(), z.unknown()), z.record(z.string(), z.unknown())]).nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the goal.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single goal configured for a site.\\nGoals track conversions and custom actions.\");\nexport const PlausibleAnalyticsListGoalsOutput = z.object({\n meta: PlausibleAnalyticsListGoals_MetaSchema.nullable().optional(),\n goals: z.array(PlausibleAnalyticsListGoals_GoalSchema).describe(\"List of goals configured for the site.\"),\n}).passthrough().describe(\"Response containing the list of goals configured for a site.\");\n\nexport const plausibleAnalyticsListGoals = action(\"PLAUSIBLE_ANALYTICS_LIST_GOALS\", {\n slug: \"plausible_analytics-list-goals\",\n name: \"List Goals\",\n description: \"Tool to list all goals configured for a site. Use when you need to retrieve conversion goals and custom action tracking configured for a Plausible Analytics site.\",\n input: PlausibleAnalyticsListGoalsInput,\n output: PlausibleAnalyticsListGoalsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC7J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACnI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC1E,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAMxH,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,MAAM,uCAAuC,SAAS,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wCAAwC;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-guests.ts
|
|
4
4
|
const PlausibleAnalyticsListGuestsInput = zod.z.object({ site_id: zod.z.string().describe("Domain of the site to list guests for (e.g., 'example.com')") }).describe("Request model for listing guest users who have access to a site's dashboard.");
|
|
5
5
|
const PlausibleAnalyticsListGuests_GuestSchema = zod.z.object({
|
|
6
|
-
role: zod.z.string().describe("Role assigned to the guest user"),
|
|
7
|
-
email: zod.z.string().describe("Email address of the guest user"),
|
|
8
|
-
status: zod.z.string().describe("Current status of the guest user")
|
|
9
|
-
}).describe("Represents a single guest user with access to a site's dashboard.");
|
|
10
|
-
const PlausibleAnalyticsListGuestsOutput = zod.z.object({ guests: zod.z.array(PlausibleAnalyticsListGuests_GuestSchema).describe("List of guest users who have access to the site's dashboard") }).describe("Response containing the list of guest users.");
|
|
6
|
+
role: zod.z.string().describe("Role assigned to the guest user").nullable(),
|
|
7
|
+
email: zod.z.string().describe("Email address of the guest user").nullable(),
|
|
8
|
+
status: zod.z.string().describe("Current status of the guest user").nullable()
|
|
9
|
+
}).passthrough().describe("Represents a single guest user with access to a site's dashboard.");
|
|
10
|
+
const PlausibleAnalyticsListGuestsOutput = zod.z.object({ guests: zod.z.array(PlausibleAnalyticsListGuests_GuestSchema).describe("List of guest users who have access to the site's dashboard") }).passthrough().describe("Response containing the list of guest users.");
|
|
11
11
|
const plausibleAnalyticsListGuests = require_action.action("PLAUSIBLE_ANALYTICS_LIST_GUESTS", {
|
|
12
12
|
slug: "plausible_analytics-list-guests",
|
|
13
13
|
name: "List Site Guests",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-guests.cjs","names":["z","action"],"sources":["../../src/actions/list-guests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListGuestsInput
|
|
1
|
+
{"version":3,"file":"list-guests.cjs","names":["z","action"],"sources":["../../src/actions/list-guests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListGuestsInput = z.object({\n site_id: z.string().describe(\"Domain of the site to list guests for (e.g., 'example.com')\"),\n}).describe(\"Request model for listing guest users who have access to a site's dashboard.\");\nconst PlausibleAnalyticsListGuests_GuestSchema = z.object({\n role: z.string().describe(\"Role assigned to the guest user\").nullable(),\n email: z.string().describe(\"Email address of the guest user\").nullable(),\n status: z.string().describe(\"Current status of the guest user\").nullable(),\n}).passthrough().describe(\"Represents a single guest user with access to a site's dashboard.\");\nexport const PlausibleAnalyticsListGuestsOutput = z.object({\n guests: z.array(PlausibleAnalyticsListGuests_GuestSchema).describe(\"List of guest users who have access to the site's dashboard\"),\n}).passthrough().describe(\"Response containing the list of guest users.\");\n\nexport const plausibleAnalyticsListGuests = action(\"PLAUSIBLE_ANALYTICS_LIST_GUESTS\", {\n slug: \"plausible_analytics-list-guests\",\n name: \"List Site Guests\",\n description: \"Tool to list all guest users who have access to a site's dashboard in Plausible Analytics. Use when you need to see which guests have been granted access to view a specific site's analytics. This is an Enterprise feature.\",\n input: PlausibleAnalyticsListGuestsInput,\n output: PlausibleAnalyticsListGuestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6DAA6D,EAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-guests.d.ts
|
|
4
|
-
declare const PlausibleAnalyticsListGuestsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlausibleAnalyticsListGuestsInput: z.ZodObject<{
|
|
5
|
+
site_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PlausibleAnalyticsListGuestsOutput: z.ZodObject<{
|
|
8
|
+
guests: z.ZodArray<z.ZodObject<{
|
|
9
|
+
role: z.ZodNullable<z.ZodString>;
|
|
10
|
+
email: z.ZodNullable<z.ZodString>;
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const plausibleAnalyticsListGuests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
site_id: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { plausibleAnalyticsListGuests };
|
|
9
19
|
//# sourceMappingURL=list-guests.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-guests.d.cts","names":[],"sources":["../../src/actions/list-guests.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"list-guests.d.cts","names":[],"sources":["../../src/actions/list-guests.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAQjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-guests.d.ts
|
|
4
|
-
declare const PlausibleAnalyticsListGuestsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlausibleAnalyticsListGuestsInput: z.ZodObject<{
|
|
5
|
+
site_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PlausibleAnalyticsListGuestsOutput: z.ZodObject<{
|
|
8
|
+
guests: z.ZodArray<z.ZodObject<{
|
|
9
|
+
role: z.ZodNullable<z.ZodString>;
|
|
10
|
+
email: z.ZodNullable<z.ZodString>;
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const plausibleAnalyticsListGuests: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
site_id: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { plausibleAnalyticsListGuests };
|
|
9
19
|
//# sourceMappingURL=list-guests.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-guests.d.mts","names":[],"sources":["../../src/actions/list-guests.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"list-guests.d.mts","names":[],"sources":["../../src/actions/list-guests.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAQjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-guests.ts
|
|
4
4
|
const PlausibleAnalyticsListGuestsInput = z.object({ site_id: z.string().describe("Domain of the site to list guests for (e.g., 'example.com')") }).describe("Request model for listing guest users who have access to a site's dashboard.");
|
|
5
5
|
const PlausibleAnalyticsListGuests_GuestSchema = z.object({
|
|
6
|
-
role: z.string().describe("Role assigned to the guest user"),
|
|
7
|
-
email: z.string().describe("Email address of the guest user"),
|
|
8
|
-
status: z.string().describe("Current status of the guest user")
|
|
9
|
-
}).describe("Represents a single guest user with access to a site's dashboard.");
|
|
6
|
+
role: z.string().describe("Role assigned to the guest user").nullable(),
|
|
7
|
+
email: z.string().describe("Email address of the guest user").nullable(),
|
|
8
|
+
status: z.string().describe("Current status of the guest user").nullable()
|
|
9
|
+
}).passthrough().describe("Represents a single guest user with access to a site's dashboard.");
|
|
10
10
|
const plausibleAnalyticsListGuests = action("PLAUSIBLE_ANALYTICS_LIST_GUESTS", {
|
|
11
11
|
slug: "plausible_analytics-list-guests",
|
|
12
12
|
name: "List Site Guests",
|
|
13
13
|
description: "Tool to list all guest users who have access to a site's dashboard in Plausible Analytics. Use when you need to see which guests have been granted access to view a specific site's analytics. This is an Enterprise feature.",
|
|
14
14
|
input: PlausibleAnalyticsListGuestsInput,
|
|
15
|
-
output: z.object({ guests: z.array(PlausibleAnalyticsListGuests_GuestSchema).describe("List of guest users who have access to the site's dashboard") }).describe("Response containing the list of guest users.")
|
|
15
|
+
output: z.object({ guests: z.array(PlausibleAnalyticsListGuests_GuestSchema).describe("List of guest users who have access to the site's dashboard") }).passthrough().describe("Response containing the list of guest users.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { plausibleAnalyticsListGuests };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-guests.mjs","names":[],"sources":["../../src/actions/list-guests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListGuestsInput
|
|
1
|
+
{"version":3,"file":"list-guests.mjs","names":[],"sources":["../../src/actions/list-guests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListGuestsInput = z.object({\n site_id: z.string().describe(\"Domain of the site to list guests for (e.g., 'example.com')\"),\n}).describe(\"Request model for listing guest users who have access to a site's dashboard.\");\nconst PlausibleAnalyticsListGuests_GuestSchema = z.object({\n role: z.string().describe(\"Role assigned to the guest user\").nullable(),\n email: z.string().describe(\"Email address of the guest user\").nullable(),\n status: z.string().describe(\"Current status of the guest user\").nullable(),\n}).passthrough().describe(\"Represents a single guest user with access to a site's dashboard.\");\nexport const PlausibleAnalyticsListGuestsOutput = z.object({\n guests: z.array(PlausibleAnalyticsListGuests_GuestSchema).describe(\"List of guest users who have access to the site's dashboard\"),\n}).passthrough().describe(\"Response containing the list of guest users.\");\n\nexport const plausibleAnalyticsListGuests = action(\"PLAUSIBLE_ANALYTICS_LIST_GUESTS\", {\n slug: \"plausible_analytics-list-guests\",\n name: \"List Site Guests\",\n description: \"Tool to list all guest users who have access to a site's dashboard in Plausible Analytics. Use when you need to see which guests have been granted access to view a specific site's analytics. This is an Enterprise feature.\",\n input: PlausibleAnalyticsListGuestsInput,\n output: PlausibleAnalyticsListGuestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAK7F,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6DAA6D,EAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -9,17 +9,17 @@ const PlausibleAnalyticsListSitesInput = zod.z.object({
|
|
|
9
9
|
}).describe("Request model for listing all sites accessible by the API key owner's Plausible account.");
|
|
10
10
|
const PlausibleAnalyticsListSites_PaginationMetaSchema = zod.z.object({
|
|
11
11
|
after: zod.z.string().describe("Cursor for fetching the next page of results. Use this value in the 'after' parameter of the next request.").nullable().optional(),
|
|
12
|
-
limit: zod.z.number().int().describe("The pagination limit applied to this response."),
|
|
12
|
+
limit: zod.z.number().int().describe("The pagination limit applied to this response.").nullable(),
|
|
13
13
|
before: zod.z.string().describe("Cursor for fetching the previous page of results. Use this value in the 'before' parameter of the next request.").nullable().optional()
|
|
14
|
-
}).describe("Pagination metadata for navigating through results.");
|
|
14
|
+
}).passthrough().describe("Pagination metadata for navigating through results.");
|
|
15
15
|
const PlausibleAnalyticsListSites_SiteSchema = zod.z.object({
|
|
16
|
-
domain: zod.z.string().describe("The domain name of the site being tracked."),
|
|
17
|
-
timezone: zod.z.string().describe("The timezone configured for the site, in IANA timezone format.")
|
|
18
|
-
}).describe("Represents a single site in the Plausible Analytics account.");
|
|
16
|
+
domain: zod.z.string().describe("The domain name of the site being tracked.").nullable(),
|
|
17
|
+
timezone: zod.z.string().describe("The timezone configured for the site, in IANA timezone format.").nullable()
|
|
18
|
+
}).passthrough().describe("Represents a single site in the Plausible Analytics account.");
|
|
19
19
|
const PlausibleAnalyticsListSitesOutput = zod.z.object({
|
|
20
20
|
meta: PlausibleAnalyticsListSites_PaginationMetaSchema.nullable(),
|
|
21
21
|
sites: zod.z.array(PlausibleAnalyticsListSites_SiteSchema).describe("List of sites accessible by the API key owner's Plausible account.")
|
|
22
|
-
}).describe("Response containing the list of sites accessible by the API key owner.");
|
|
22
|
+
}).passthrough().describe("Response containing the list of sites accessible by the API key owner.");
|
|
23
23
|
const plausibleAnalyticsListSites = require_action.action("PLAUSIBLE_ANALYTICS_LIST_SITES", {
|
|
24
24
|
slug: "plausible_analytics-list-sites",
|
|
25
25
|
name: "List Sites",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sites.cjs","names":["z","action"],"sources":["../../src/actions/list-sites.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListSitesInput
|
|
1
|
+
{"version":3,"file":"list-sites.cjs","names":["z","action"],"sources":["../../src/actions/list-sites.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListSitesInput = z.object({\n after: z.string().describe(\"Pagination cursor for fetching the next page of results.\").optional(),\n limit: z.number().int().describe(\"Maximum number of sites to return per page. Defaults to 100 if not specified.\").optional(),\n before: z.string().describe(\"Pagination cursor for fetching the previous page of results.\").optional(),\n team_id: z.string().describe(\"ID of the team to scope the list of sites by. If provided, only sites belonging to this team will be returned.\").optional(),\n}).describe(\"Request model for listing all sites accessible by the API key owner's Plausible account.\");\nconst PlausibleAnalyticsListSites_PaginationMetaSchema = z.object({\n after: z.string().describe(\"Cursor for fetching the next page of results. Use this value in the 'after' parameter of the next request.\").nullable().optional(),\n limit: z.number().int().describe(\"The pagination limit applied to this response.\").nullable(),\n before: z.string().describe(\"Cursor for fetching the previous page of results. Use this value in the 'before' parameter of the next request.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through results.\");\nconst PlausibleAnalyticsListSites_SiteSchema = z.object({\n domain: z.string().describe(\"The domain name of the site being tracked.\").nullable(),\n timezone: z.string().describe(\"The timezone configured for the site, in IANA timezone format.\").nullable(),\n}).passthrough().describe(\"Represents a single site in the Plausible Analytics account.\");\nexport const PlausibleAnalyticsListSitesOutput = z.object({\n meta: PlausibleAnalyticsListSites_PaginationMetaSchema.nullable(),\n sites: z.array(PlausibleAnalyticsListSites_SiteSchema).describe(\"List of sites accessible by the API key owner's Plausible account.\"),\n}).passthrough().describe(\"Response containing the list of sites accessible by the API key owner.\");\n\nexport const plausibleAnalyticsListSites = action(\"PLAUSIBLE_ANALYTICS_LIST_SITES\", {\n slug: \"plausible_analytics-list-sites\",\n name: \"List Sites\",\n description: \"Tool to list all sites the API key owner's Plausible account can access. Returns domain, timezone, and creation info with pagination support. Use when you need to retrieve all sites or paginate through large site lists.\",\n input: PlausibleAnalyticsListSitesInput,\n output: PlausibleAnalyticsListSitesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAM,iDAAiD,SAAS;CAChE,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,oEAAoE;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-sites.d.ts
|
|
4
|
-
declare const PlausibleAnalyticsListSitesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlausibleAnalyticsListSitesInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
team_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PlausibleAnalyticsListSitesOutput: z.ZodObject<{
|
|
11
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
17
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
18
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const plausibleAnalyticsListSites: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
after?: string | undefined;
|
|
23
|
+
limit?: number | undefined;
|
|
24
|
+
before?: string | undefined;
|
|
25
|
+
team_id?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { plausibleAnalyticsListSites };
|
|
9
29
|
//# sourceMappingURL=list-sites.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sites.d.cts","names":[],"sources":["../../src/actions/list-sites.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"list-sites.d.cts","names":[],"sources":["../../src/actions/list-sites.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAehC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-sites.d.ts
|
|
4
|
-
declare const PlausibleAnalyticsListSitesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PlausibleAnalyticsListSitesInput: z.ZodObject<{
|
|
5
|
+
after: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
team_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PlausibleAnalyticsListSitesOutput: z.ZodObject<{
|
|
11
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
17
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
18
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const plausibleAnalyticsListSites: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
after?: string | undefined;
|
|
23
|
+
limit?: number | undefined;
|
|
24
|
+
before?: string | undefined;
|
|
25
|
+
team_id?: string | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { plausibleAnalyticsListSites };
|
|
9
29
|
//# sourceMappingURL=list-sites.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sites.d.mts","names":[],"sources":["../../src/actions/list-sites.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"list-sites.d.mts","names":[],"sources":["../../src/actions/list-sites.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAehC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -9,13 +9,13 @@ const PlausibleAnalyticsListSitesInput = z.object({
|
|
|
9
9
|
}).describe("Request model for listing all sites accessible by the API key owner's Plausible account.");
|
|
10
10
|
const PlausibleAnalyticsListSites_PaginationMetaSchema = z.object({
|
|
11
11
|
after: z.string().describe("Cursor for fetching the next page of results. Use this value in the 'after' parameter of the next request.").nullable().optional(),
|
|
12
|
-
limit: z.number().int().describe("The pagination limit applied to this response."),
|
|
12
|
+
limit: z.number().int().describe("The pagination limit applied to this response.").nullable(),
|
|
13
13
|
before: z.string().describe("Cursor for fetching the previous page of results. Use this value in the 'before' parameter of the next request.").nullable().optional()
|
|
14
|
-
}).describe("Pagination metadata for navigating through results.");
|
|
14
|
+
}).passthrough().describe("Pagination metadata for navigating through results.");
|
|
15
15
|
const PlausibleAnalyticsListSites_SiteSchema = z.object({
|
|
16
|
-
domain: z.string().describe("The domain name of the site being tracked."),
|
|
17
|
-
timezone: z.string().describe("The timezone configured for the site, in IANA timezone format.")
|
|
18
|
-
}).describe("Represents a single site in the Plausible Analytics account.");
|
|
16
|
+
domain: z.string().describe("The domain name of the site being tracked.").nullable(),
|
|
17
|
+
timezone: z.string().describe("The timezone configured for the site, in IANA timezone format.").nullable()
|
|
18
|
+
}).passthrough().describe("Represents a single site in the Plausible Analytics account.");
|
|
19
19
|
const plausibleAnalyticsListSites = action("PLAUSIBLE_ANALYTICS_LIST_SITES", {
|
|
20
20
|
slug: "plausible_analytics-list-sites",
|
|
21
21
|
name: "List Sites",
|
|
@@ -24,7 +24,7 @@ const plausibleAnalyticsListSites = action("PLAUSIBLE_ANALYTICS_LIST_SITES", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
meta: PlausibleAnalyticsListSites_PaginationMetaSchema.nullable(),
|
|
26
26
|
sites: z.array(PlausibleAnalyticsListSites_SiteSchema).describe("List of sites accessible by the API key owner's Plausible account.")
|
|
27
|
-
}).describe("Response containing the list of sites accessible by the API key owner.")
|
|
27
|
+
}).passthrough().describe("Response containing the list of sites accessible by the API key owner.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { plausibleAnalyticsListSites };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sites.mjs","names":[],"sources":["../../src/actions/list-sites.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListSitesInput
|
|
1
|
+
{"version":3,"file":"list-sites.mjs","names":[],"sources":["../../src/actions/list-sites.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListSitesInput = z.object({\n after: z.string().describe(\"Pagination cursor for fetching the next page of results.\").optional(),\n limit: z.number().int().describe(\"Maximum number of sites to return per page. Defaults to 100 if not specified.\").optional(),\n before: z.string().describe(\"Pagination cursor for fetching the previous page of results.\").optional(),\n team_id: z.string().describe(\"ID of the team to scope the list of sites by. If provided, only sites belonging to this team will be returned.\").optional(),\n}).describe(\"Request model for listing all sites accessible by the API key owner's Plausible account.\");\nconst PlausibleAnalyticsListSites_PaginationMetaSchema = z.object({\n after: z.string().describe(\"Cursor for fetching the next page of results. Use this value in the 'after' parameter of the next request.\").nullable().optional(),\n limit: z.number().int().describe(\"The pagination limit applied to this response.\").nullable(),\n before: z.string().describe(\"Cursor for fetching the previous page of results. Use this value in the 'before' parameter of the next request.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through results.\");\nconst PlausibleAnalyticsListSites_SiteSchema = z.object({\n domain: z.string().describe(\"The domain name of the site being tracked.\").nullable(),\n timezone: z.string().describe(\"The timezone configured for the site, in IANA timezone format.\").nullable(),\n}).passthrough().describe(\"Represents a single site in the Plausible Analytics account.\");\nexport const PlausibleAnalyticsListSitesOutput = z.object({\n meta: PlausibleAnalyticsListSites_PaginationMetaSchema.nullable(),\n sites: z.array(PlausibleAnalyticsListSites_SiteSchema).describe(\"List of sites accessible by the API key owner's Plausible account.\"),\n}).passthrough().describe(\"Response containing the list of sites accessible by the API key owner.\");\n\nexport const plausibleAnalyticsListSites = action(\"PLAUSIBLE_ANALYTICS_LIST_SITES\", {\n slug: \"plausible_analytics-list-sites\",\n name: \"List Sites\",\n description: \"Tool to list all sites the API key owner's Plausible account can access. Returns domain, timezone, and creation info with pagination support. Use when you need to retrieve all sites or paginate through large site lists.\",\n input: PlausibleAnalyticsListSitesInput,\n output: PlausibleAnalyticsListSitesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAM,mDAAmD,EAAE,OAAO;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,yCAAyC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAMxF,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,MAAM,iDAAiD,SAAS;EAChE,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,oEAAoE;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
|
|
@@ -10,16 +10,16 @@ const PlausibleAnalyticsListTeams_PaginationMetaSchema = zod.z.object({
|
|
|
10
10
|
after: zod.z.string().describe("Cursor for fetching the next page of results. Use this value in the 'after' parameter of the next request.").nullable().optional(),
|
|
11
11
|
limit: zod.z.number().int().describe("The pagination limit applied to this response.").nullable().optional(),
|
|
12
12
|
before: zod.z.string().describe("Cursor for fetching the previous page of results. Use this value in the 'before' parameter of the next request.").nullable().optional()
|
|
13
|
-
}).describe("Pagination metadata for navigating through results.");
|
|
13
|
+
}).passthrough().describe("Pagination metadata for navigating through results.");
|
|
14
14
|
const PlausibleAnalyticsListTeams_TeamSchema = zod.z.object({
|
|
15
15
|
id: zod.z.string().describe("Unique identifier for the team.").nullable().optional(),
|
|
16
16
|
name: zod.z.string().describe("Name of the team.").nullable().optional(),
|
|
17
17
|
api_available: zod.z.boolean().describe("Indicates whether the API is available for this team.").nullable().optional()
|
|
18
|
-
}).describe("Represents a single team available to the API key owner.");
|
|
18
|
+
}).passthrough().describe("Represents a single team available to the API key owner.");
|
|
19
19
|
const PlausibleAnalyticsListTeamsOutput = zod.z.object({
|
|
20
20
|
meta: PlausibleAnalyticsListTeams_PaginationMetaSchema.nullable().optional(),
|
|
21
21
|
teams: zod.z.array(PlausibleAnalyticsListTeams_TeamSchema).describe("List of teams available for the API key owner.")
|
|
22
|
-
}).describe("Response containing the list of teams available for the API key owner.");
|
|
22
|
+
}).passthrough().describe("Response containing the list of teams available for the API key owner.");
|
|
23
23
|
const plausibleAnalyticsListTeams = require_action.action("PLAUSIBLE_ANALYTICS_LIST_TEAMS", {
|
|
24
24
|
slug: "plausible_analytics-list-teams",
|
|
25
25
|
name: "List Teams",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListTeamsInput
|
|
1
|
+
{"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListTeamsInput = z.object({\n after: z.string().describe(\"Pagination cursor for fetching the next page of results.\").optional(),\n limit: z.number().int().describe(\"Maximum number of teams to return per page. Defaults to 100 if not specified.\").optional(),\n before: z.string().describe(\"Pagination cursor for fetching the previous page of results.\").optional(),\n}).describe(\"Request model for listing all teams available for the API key owner.\");\nconst PlausibleAnalyticsListTeams_PaginationMetaSchema = z.object({\n after: z.string().describe(\"Cursor for fetching the next page of results. Use this value in the 'after' parameter of the next request.\").nullable().optional(),\n limit: z.number().int().describe(\"The pagination limit applied to this response.\").nullable().optional(),\n before: z.string().describe(\"Cursor for fetching the previous page of results. Use this value in the 'before' parameter of the next request.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through results.\");\nconst PlausibleAnalyticsListTeams_TeamSchema = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n api_available: z.boolean().describe(\"Indicates whether the API is available for this team.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single team available to the API key owner.\");\nexport const PlausibleAnalyticsListTeamsOutput = z.object({\n meta: PlausibleAnalyticsListTeams_PaginationMetaSchema.nullable().optional(),\n teams: z.array(PlausibleAnalyticsListTeams_TeamSchema).describe(\"List of teams available for the API key owner.\"),\n}).passthrough().describe(\"Response containing the list of teams available for the API key owner.\");\n\nexport const plausibleAnalyticsListTeams = action(\"PLAUSIBLE_ANALYTICS_LIST_TEAMS\", {\n slug: \"plausible_analytics-list-teams\",\n name: \"List Teams\",\n description: \"Tool to list all teams available for the API key owner. Use when you need to retrieve teams for site provisioning to a specific team.\",\n input: PlausibleAnalyticsListTeamsInput,\n output: PlausibleAnalyticsListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gDAAgD;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|