@keystrokehq/plausible_analytics 0.1.0 → 0.1.2

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.
Files changed (103) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-health.cjs.map +1 -1
  4. package/dist/actions/check-health.d.cts +6 -3
  5. package/dist/actions/check-health.d.cts.map +1 -1
  6. package/dist/actions/check-health.d.mts +6 -3
  7. package/dist/actions/check-health.d.mts.map +1 -1
  8. package/dist/actions/check-health.mjs.map +1 -1
  9. package/dist/actions/get-breakdown-stats.cjs.map +1 -1
  10. package/dist/actions/get-breakdown-stats.d.cts +52 -3
  11. package/dist/actions/get-breakdown-stats.d.cts.map +1 -1
  12. package/dist/actions/get-breakdown-stats.d.mts +52 -3
  13. package/dist/actions/get-breakdown-stats.d.mts.map +1 -1
  14. package/dist/actions/get-breakdown-stats.mjs.map +1 -1
  15. package/dist/actions/get-plugin-capabilities.cjs +11 -11
  16. package/dist/actions/get-plugin-capabilities.cjs.map +1 -1
  17. package/dist/actions/get-plugin-capabilities.d.cts +19 -3
  18. package/dist/actions/get-plugin-capabilities.d.cts.map +1 -1
  19. package/dist/actions/get-plugin-capabilities.d.mts +19 -3
  20. package/dist/actions/get-plugin-capabilities.d.mts.map +1 -1
  21. package/dist/actions/get-plugin-capabilities.mjs +11 -11
  22. package/dist/actions/get-plugin-capabilities.mjs.map +1 -1
  23. package/dist/actions/get-realtime-visitors.cjs +1 -1
  24. package/dist/actions/get-realtime-visitors.cjs.map +1 -1
  25. package/dist/actions/get-realtime-visitors.d.cts +9 -3
  26. package/dist/actions/get-realtime-visitors.d.cts.map +1 -1
  27. package/dist/actions/get-realtime-visitors.d.mts +9 -3
  28. package/dist/actions/get-realtime-visitors.d.mts.map +1 -1
  29. package/dist/actions/get-realtime-visitors.mjs +1 -1
  30. package/dist/actions/get-realtime-visitors.mjs.map +1 -1
  31. package/dist/actions/get-site.cjs +11 -11
  32. package/dist/actions/get-site.cjs.map +1 -1
  33. package/dist/actions/get-site.d.cts +23 -3
  34. package/dist/actions/get-site.d.cts.map +1 -1
  35. package/dist/actions/get-site.d.mts +23 -3
  36. package/dist/actions/get-site.d.mts.map +1 -1
  37. package/dist/actions/get-site.mjs +11 -11
  38. package/dist/actions/get-site.mjs.map +1 -1
  39. package/dist/actions/get-timeseries-stats.cjs +1 -1
  40. package/dist/actions/get-timeseries-stats.cjs.map +1 -1
  41. package/dist/actions/get-timeseries-stats.d.cts +32 -3
  42. package/dist/actions/get-timeseries-stats.d.cts.map +1 -1
  43. package/dist/actions/get-timeseries-stats.d.mts +32 -3
  44. package/dist/actions/get-timeseries-stats.d.mts.map +1 -1
  45. package/dist/actions/get-timeseries-stats.mjs +1 -1
  46. package/dist/actions/get-timeseries-stats.mjs.map +1 -1
  47. package/dist/actions/list-custom-props.cjs +1 -1
  48. package/dist/actions/list-custom-props.cjs.map +1 -1
  49. package/dist/actions/list-custom-props.d.cts +11 -3
  50. package/dist/actions/list-custom-props.d.cts.map +1 -1
  51. package/dist/actions/list-custom-props.d.mts +11 -3
  52. package/dist/actions/list-custom-props.d.mts.map +1 -1
  53. package/dist/actions/list-custom-props.mjs +1 -1
  54. package/dist/actions/list-custom-props.mjs.map +1 -1
  55. package/dist/actions/list-goals.cjs.map +1 -1
  56. package/dist/actions/list-goals.d.cts +27 -3
  57. package/dist/actions/list-goals.d.cts.map +1 -1
  58. package/dist/actions/list-goals.d.mts +27 -3
  59. package/dist/actions/list-goals.d.mts.map +1 -1
  60. package/dist/actions/list-goals.mjs.map +1 -1
  61. package/dist/actions/list-guests.cjs +3 -3
  62. package/dist/actions/list-guests.cjs.map +1 -1
  63. package/dist/actions/list-guests.d.cts +13 -3
  64. package/dist/actions/list-guests.d.cts.map +1 -1
  65. package/dist/actions/list-guests.d.mts +13 -3
  66. package/dist/actions/list-guests.d.mts.map +1 -1
  67. package/dist/actions/list-guests.mjs +3 -3
  68. package/dist/actions/list-guests.mjs.map +1 -1
  69. package/dist/actions/list-sites.cjs +3 -3
  70. package/dist/actions/list-sites.cjs.map +1 -1
  71. package/dist/actions/list-sites.d.cts +23 -3
  72. package/dist/actions/list-sites.d.cts.map +1 -1
  73. package/dist/actions/list-sites.d.mts +23 -3
  74. package/dist/actions/list-sites.d.mts.map +1 -1
  75. package/dist/actions/list-sites.mjs +3 -3
  76. package/dist/actions/list-sites.mjs.map +1 -1
  77. package/dist/actions/list-teams.cjs.map +1 -1
  78. package/dist/actions/list-teams.d.cts +22 -3
  79. package/dist/actions/list-teams.d.cts.map +1 -1
  80. package/dist/actions/list-teams.d.mts +22 -3
  81. package/dist/actions/list-teams.d.mts.map +1 -1
  82. package/dist/actions/list-teams.mjs.map +1 -1
  83. package/dist/actions/query-stats.cjs.map +1 -1
  84. package/dist/actions/query-stats.d.cts +23 -3
  85. package/dist/actions/query-stats.d.cts.map +1 -1
  86. package/dist/actions/query-stats.d.mts +23 -3
  87. package/dist/actions/query-stats.d.mts.map +1 -1
  88. package/dist/actions/query-stats.mjs.map +1 -1
  89. package/dist/actions/record-event.cjs +2 -2
  90. package/dist/actions/record-event.cjs.map +1 -1
  91. package/dist/actions/record-event.d.cts +32 -3
  92. package/dist/actions/record-event.d.cts.map +1 -1
  93. package/dist/actions/record-event.d.mts +32 -3
  94. package/dist/actions/record-event.d.mts.map +1 -1
  95. package/dist/actions/record-event.mjs +2 -2
  96. package/dist/actions/record-event.mjs.map +1 -1
  97. package/dist/catalog.cjs +14 -1
  98. package/dist/catalog.cjs.map +1 -1
  99. package/dist/catalog.d.cts +13 -0
  100. package/dist/catalog.d.mts +13 -0
  101. package/dist/catalog.mjs +14 -1
  102. package/dist/catalog.mjs.map +1 -1
  103. package/package.json +2 -2
@@ -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.ZodTypeAny;
5
- declare const PlausibleAnalyticsListGoalsOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsListGoals: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>>;
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.ZodObject<{}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>>>;
22
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>;
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,EAAkC,CAAA,CAAE,UAKoB;AAAA,cAcxD,iCAAA,EAAmC,CAAA,CAAE,UAGyB;AAAA,cAE9D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -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: z.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Metadata about the goals response.\");\nconst PlausibleAnalyticsListGoals_GoalSchema: z.ZodTypeAny = 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.object({}), z.object({})]).nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the goal.\").nullable().optional(),\n}).describe(\"Represents a single goal configured for a site.\\nGoals track conversions and custom actions.\");\nexport const PlausibleAnalyticsListGoalsOutput: z.ZodTypeAny = z.object({\n meta: PlausibleAnalyticsListGoals_MetaSchema.nullable().optional(),\n goals: z.array(PlausibleAnalyticsListGoals_GoalSchema).describe(\"List of goals configured for the site.\"),\n}).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,mCAAiD,EAAE,OAAO;CACrE,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,yCAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACv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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}).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.object({}), z.object({})]).nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the goal.\").nullable().optional(),\n}).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}).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.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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAM1G,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,SAAS,8DAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ 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")
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
9
  }).describe("Represents a single guest user with access to a site's dashboard.");
10
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.");
11
11
  const plausibleAnalyticsListGuests = require_action.action("PLAUSIBLE_ANALYTICS_LIST_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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n role: z.string().describe(\"Role assigned to the guest user\"),\n email: z.string().describe(\"Email address of the guest user\"),\n status: z.string().describe(\"Current status of the guest user\"),\n}).describe(\"Represents a single guest user with access to a site's dashboard.\");\nexport const PlausibleAnalyticsListGuestsOutput: z.ZodTypeAny = z.object({\n guests: z.array(PlausibleAnalyticsListGuests_GuestSchema).describe(\"List of guest users who have access to the site's dashboard\"),\n}).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,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6DAA6D,EAClI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).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}).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,SAAS,mEAAmE;AAC/E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6DAA6D,EAClI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,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.ZodTypeAny;
5
- declare const PlausibleAnalyticsListGuestsOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsListGuests: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>;
13
+ }, z.core.$strip>;
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,EAAmC,CAAA,CAAE,UAEyC;AAAA,cAM9E,kCAAA,EAAoC,CAAA,CAAE,UAEQ;AAAA,cAE9C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const PlausibleAnalyticsListGuestsOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsListGuests: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>;
13
+ }, z.core.$strip>;
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,EAAmC,CAAA,CAAE,UAEyC;AAAA,cAM9E,kCAAA,EAAoC,CAAA,CAAE,UAEQ;AAAA,cAE9C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +3,9 @@ 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")
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
9
  }).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",
@@ -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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n role: z.string().describe(\"Role assigned to the guest user\"),\n email: z.string().describe(\"Email address of the guest user\"),\n status: z.string().describe(\"Current status of the guest user\"),\n}).describe(\"Represents a single guest user with access to a site's dashboard.\");\nexport const PlausibleAnalyticsListGuestsOutput: z.ZodTypeAny = z.object({\n guests: z.array(PlausibleAnalyticsListGuests_GuestSchema).describe(\"List of guest users who have access to the site's dashboard\"),\n}).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,oCAAkD,EAAE,OAAO,EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC5F,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAK/E,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6DAA6D,EAClI,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
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}).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}).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,SAAS,mEAAmE;AAK/E,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,SAAS,8CAOF;AACV,CAAC"}
@@ -9,12 +9,12 @@ 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
14
  }).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.")
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
18
  }).describe("Represents a single site in the Plausible Analytics account.");
19
19
  const PlausibleAnalyticsListSitesOutput = zod.z.object({
20
20
  meta: PlausibleAnalyticsListSites_PaginationMetaSchema.nullable(),
@@ -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: z.ZodTypeAny = 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.ZodTypeAny = 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.\"),\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}).describe(\"Pagination metadata for navigating through results.\");\nconst PlausibleAnalyticsListSites_SiteSchema: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain name of the site being tracked.\"),\n timezone: z.string().describe(\"The timezone configured for the site, in IANA timezone format.\"),\n}).describe(\"Represents a single site in the Plausible Analytics account.\");\nexport const PlausibleAnalyticsListSitesOutput: z.ZodTypeAny = 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}).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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,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;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AAChG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAM,iDAAiD,SAAS;CAChE,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,oEAAoE;AACtI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).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}).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}).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,C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 
3
3
  //#region src/actions/list-sites.d.ts
4
- declare const PlausibleAnalyticsListSitesInput: z.ZodTypeAny;
5
- declare const PlausibleAnalyticsListSitesOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsListSites: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>;
16
+ sites: z.ZodArray<z.ZodObject<{
17
+ domain: z.ZodNullable<z.ZodString>;
18
+ timezone: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
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,EAAkC,CAAA,CAAE,UAKsD;AAAA,cAU1F,iCAAA,EAAmC,CAAA,CAAE,UAGmC;AAAA,cAExE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const PlausibleAnalyticsListSitesOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsListSites: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>;
16
+ sites: z.ZodArray<z.ZodObject<{
17
+ domain: z.ZodNullable<z.ZodString>;
18
+ timezone: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
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,EAAkC,CAAA,CAAE,UAKsD;AAAA,cAU1F,iCAAA,EAAmC,CAAA,CAAE,UAGmC;AAAA,cAExE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,12 +9,12 @@ 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
14
  }).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.")
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
18
  }).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",
@@ -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: z.ZodTypeAny = 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.ZodTypeAny = 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.\"),\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}).describe(\"Pagination metadata for navigating through results.\");\nconst PlausibleAnalyticsListSites_SiteSchema: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain name of the site being tracked.\"),\n timezone: z.string().describe(\"The timezone configured for the site, in IANA timezone format.\"),\n}).describe(\"Represents a single site in the Plausible Analytics account.\");\nexport const PlausibleAnalyticsListSitesOutput: z.ZodTypeAny = 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}).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,mCAAiD,EAAE,OAAO;CACrE,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,mDAAiE,EAAE,OAAO;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,yCAAuD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AAChG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAM1E,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,iDAAiD,SAAS;EAChE,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,oEAAoE;CACtI,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
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}).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}).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}).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: PlausibleAnalyticsListSites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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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Pagination metadata for navigating through results.\");\nconst PlausibleAnalyticsListTeams_TeamSchema: z.ZodTypeAny = 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}).describe(\"Represents a single team available to the API key owner.\");\nexport const PlausibleAnalyticsListTeamsOutput: z.ZodTypeAny = 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}).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,m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C,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).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}).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}).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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iD,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gDAAgD;AAClH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-teams.d.ts
4
- declare const PlausibleAnalyticsListTeamsInput: z.ZodTypeAny;
5
- declare const PlausibleAnalyticsListTeamsOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsListTeams: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlausibleAnalyticsListTeamsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PlausibleAnalyticsListTeamsOutput: z.ZodObject<{
10
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>>>;
15
+ teams: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ api_available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ declare const plausibleAnalyticsListTeams: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ after?: string | undefined;
23
+ limit?: number | undefined;
24
+ before?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { plausibleAnalyticsListTeams };
9
28
  //# sourceMappingURL=list-teams.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.d.cts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIkC;AAAA,cAWtE,iCAAA,EAAmC,CAAA,CAAE,UAGmC;AAAA,cAExE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-teams.d.cts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAehC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-teams.d.ts
4
- declare const PlausibleAnalyticsListTeamsInput: z.ZodTypeAny;
5
- declare const PlausibleAnalyticsListTeamsOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsListTeams: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlausibleAnalyticsListTeamsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const PlausibleAnalyticsListTeamsOutput: z.ZodObject<{
10
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ before: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>>>;
15
+ teams: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ api_available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ declare const plausibleAnalyticsListTeams: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ after?: string | undefined;
23
+ limit?: number | undefined;
24
+ before?: string | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { plausibleAnalyticsListTeams };
9
28
  //# sourceMappingURL=list-teams.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.d.mts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIkC;AAAA,cAWtE,iCAAA,EAAmC,CAAA,CAAE,UAGmC;AAAA,cAExE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-teams.d.mts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAehC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.mjs","names":[],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsListTeamsInput: z.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Pagination metadata for navigating through results.\");\nconst PlausibleAnalyticsListTeams_TeamSchema: z.ZodTypeAny = 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}).describe(\"Represents a single team available to the API key owner.\");\nexport const PlausibleAnalyticsListTeamsOutput: z.ZodTypeAny = 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}).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,mCAAiD,EAAE,OAAO;CACrE,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;AACvG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,mDAAiE,EAAE,OAAO;CAC9E,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,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAMtE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gDAAgD;CAClH,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-teams.mjs","names":[],"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}).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}).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}).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,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;AACvG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,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,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAMtE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,gDAAgD;CAClH,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"query-stats.cjs","names":["z","action"],"sources":["../../src/actions/query-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsQueryStatsInput: z.ZodTypeAny = z.object({\n filters: z.array(z.array(z.union([z.string(), z.array(z.string())]))).describe(\"Array of filter conditions to apply to the query. Each filter is an array with format: [dimension, operator, value]. Operators: 'is', 'is_not', 'contains', 'does_not_contain'. Example: [['event:page', 'is', '/blog'], ['visit:country', 'is', 'US']].\").optional(),\n metrics: z.array(z.string()).describe(\"List of metrics to calculate. Available metrics: 'visitors' (unique visitors), 'visits' (total visits), 'pageviews' (total page views), 'views_per_visit' (average pages per visit), 'bounce_rate' (percentage of single-page visits), 'visit_duration' (average visit duration in seconds), 'events' (total events), 'scroll_depth' (average scroll depth percentage), 'percentage' (percentage of total), 'conversion_rate', 'group_conversion_rate', 'average_revenue', 'total_revenue', 'time_on_page' (average time on page in seconds).\"),\n site_id: z.string().describe(\"Domain of your site on Plausible to be queried (e.g., 'example.com', 'composio').\"),\n date_range: z.union([z.string(), z.array(z.string())]),\n dimensions: z.array(z.string()).describe(\"List of dimensions to group results by. Common dimensions: 'event:goal' (goal names), 'event:page' (page paths), 'event:hostname' (hostnames), 'visit:source' (traffic sources), 'visit:referrer' (referrer URLs), 'visit:utm_medium', 'visit:utm_source', 'visit:utm_campaign', 'visit:device' (device types), 'visit:browser', 'visit:os' (operating systems), 'visit:country', 'visit:region', 'visit:city'.\").optional(),\n}).describe(\"Request model for querying analytics stats for a site using the Stats API v2.\");\nconst PlausibleAnalyticsQueryStats_QueryStatsResponseMetaSchema: z.ZodTypeAny = z.object({\n warnings: z.array(z.string()).describe(\"List of warnings related to the query execution.\").nullable().optional(),\n}).describe(\"Metadata about the query including warnings.\");\nconst PlausibleAnalyticsQueryStats_QueryStatsResponseResultSchema: z.ZodTypeAny = z.object({\n metrics: z.array(z.union([z.number().int(), z.number()])).describe(\"Values for the metrics specified in the query (order matches the metrics array).\"),\n dimensions: z.array(z.union([z.string(), z.number().int(), z.number()])).describe(\"Values for the dimensions specified in the query (order matches the dimensions array).\").nullable().optional(),\n}).describe(\"Individual result object with metrics and dimension values.\");\nexport const PlausibleAnalyticsQueryStatsOutput: z.ZodTypeAny = z.object({\n meta: PlausibleAnalyticsQueryStats_QueryStatsResponseMetaSchema.nullable().optional(),\n results: z.array(PlausibleAnalyticsQueryStats_QueryStatsResponseResultSchema).describe(\"Array of result objects with metrics and dimension values.\"),\n}).describe(\"Response containing query results and metadata.\");\n\nexport const plausibleAnalyticsQueryStats = action(\"PLAUSIBLE_ANALYTICS_QUERY_STATS\", {\n slug: \"plausible_analytics-query-stats\",\n name: \"Query Analytics Stats\",\n description: \"Tool to query analytics stats for a site using the Stats API v2. Use when you need to retrieve historical or real-time statistics such as visitors, pageviews, bounce rate, visit duration, and more. Supports filtering, grouping by dimensions, and custom date ranges.\",\n input: PlausibleAnalyticsQueryStatsInput,\n output: PlausibleAnalyticsQueryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;CACpV,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+gBAA+gB;CACrjB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAChH,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CACrD,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iZAAiZ,CAAC,CAAC,SAAS;AACvc,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4DAA0EA,IAAAA,EAAE,OAAO,EACvF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,8DAA4EA,IAAAA,EAAE,OAAO;CACzF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF;CACrJ,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClM,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAM,0DAA0D,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,4DAA4D;AACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-stats.cjs","names":["z","action"],"sources":["../../src/actions/query-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlausibleAnalyticsQueryStatsInput = z.object({\n filters: z.array(z.array(z.union([z.string(), z.array(z.string())]))).describe(\"Array of filter conditions to apply to the query. Each filter is an array with format: [dimension, operator, value]. Operators: 'is', 'is_not', 'contains', 'does_not_contain'. Example: [['event:page', 'is', '/blog'], ['visit:country', 'is', 'US']].\").optional(),\n metrics: z.array(z.string()).describe(\"List of metrics to calculate. Available metrics: 'visitors' (unique visitors), 'visits' (total visits), 'pageviews' (total page views), 'views_per_visit' (average pages per visit), 'bounce_rate' (percentage of single-page visits), 'visit_duration' (average visit duration in seconds), 'events' (total events), 'scroll_depth' (average scroll depth percentage), 'percentage' (percentage of total), 'conversion_rate', 'group_conversion_rate', 'average_revenue', 'total_revenue', 'time_on_page' (average time on page in seconds).\"),\n site_id: z.string().describe(\"Domain of your site on Plausible to be queried (e.g., 'example.com', 'composio').\"),\n date_range: z.union([z.string(), z.array(z.string())]),\n dimensions: z.array(z.string()).describe(\"List of dimensions to group results by. Common dimensions: 'event:goal' (goal names), 'event:page' (page paths), 'event:hostname' (hostnames), 'visit:source' (traffic sources), 'visit:referrer' (referrer URLs), 'visit:utm_medium', 'visit:utm_source', 'visit:utm_campaign', 'visit:device' (device types), 'visit:browser', 'visit:os' (operating systems), 'visit:country', 'visit:region', 'visit:city'.\").optional(),\n}).describe(\"Request model for querying analytics stats for a site using the Stats API v2.\");\nconst PlausibleAnalyticsQueryStats_QueryStatsResponseMetaSchema = z.object({\n warnings: z.array(z.string()).describe(\"List of warnings related to the query execution.\").nullable().optional(),\n}).describe(\"Metadata about the query including warnings.\");\nconst PlausibleAnalyticsQueryStats_QueryStatsResponseResultSchema = z.object({\n metrics: z.array(z.union([z.number().int(), z.number()])).describe(\"Values for the metrics specified in the query (order matches the metrics array).\"),\n dimensions: z.array(z.union([z.string(), z.number().int(), z.number()])).describe(\"Values for the dimensions specified in the query (order matches the dimensions array).\").nullable().optional(),\n}).describe(\"Individual result object with metrics and dimension values.\");\nexport const PlausibleAnalyticsQueryStatsOutput = z.object({\n meta: PlausibleAnalyticsQueryStats_QueryStatsResponseMetaSchema.nullable().optional(),\n results: z.array(PlausibleAnalyticsQueryStats_QueryStatsResponseResultSchema).describe(\"Array of result objects with metrics and dimension values.\"),\n}).describe(\"Response containing query results and metadata.\");\n\nexport const plausibleAnalyticsQueryStats = action(\"PLAUSIBLE_ANALYTICS_QUERY_STATS\", {\n slug: \"plausible_analytics-query-stats\",\n name: \"Query Analytics Stats\",\n description: \"Tool to query analytics stats for a site using the Stats API v2. Use when you need to retrieve historical or real-time statistics such as visitors, pageviews, bounce rate, visit duration, and more. Supports filtering, grouping by dimensions, and custom date ranges.\",\n input: PlausibleAnalyticsQueryStatsInput,\n output: PlausibleAnalyticsQueryStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;CACpV,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+gBAA+gB;CACrjB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAChH,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CACrD,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iZAAiZ,CAAC,CAAC,SAAS;AACvc,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,4DAA4DA,IAAAA,EAAE,OAAO,EACzE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF;CACrJ,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClM,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAM,0DAA0D,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,4DAA4D;AACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,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/query-stats.d.ts
4
- declare const PlausibleAnalyticsQueryStatsInput: z.ZodTypeAny;
5
- declare const PlausibleAnalyticsQueryStatsOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsQueryStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlausibleAnalyticsQueryStatsInput: z.ZodObject<{
5
+ filters: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>>;
6
+ metrics: z.ZodArray<z.ZodString>;
7
+ site_id: z.ZodString;
8
+ date_range: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
9
+ dimensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const PlausibleAnalyticsQueryStatsOutput: z.ZodObject<{
12
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ }, z.core.$strip>>>;
15
+ results: z.ZodArray<z.ZodObject<{
16
+ metrics: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber]>>;
17
+ dimensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>>>;
18
+ }, z.core.$strip>>;
19
+ }, z.core.$strip>;
20
+ declare const plausibleAnalyticsQueryStats: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ metrics: string[];
22
+ site_id: string;
23
+ date_range: string | string[];
24
+ filters?: (string | string[])[][] | undefined;
25
+ dimensions?: string[] | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { plausibleAnalyticsQueryStats };
9
29
  //# sourceMappingURL=query-stats.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-stats.d.cts","names":[],"sources":["../../src/actions/query-stats.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAM0C;AAAA,cAQ/E,kCAAA,EAAoC,CAAA,CAAE,UAGW;AAAA,cAEjD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"query-stats.d.cts","names":[],"sources":["../../src/actions/query-stats.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAcjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/query-stats.d.ts
4
- declare const PlausibleAnalyticsQueryStatsInput: z.ZodTypeAny;
5
- declare const PlausibleAnalyticsQueryStatsOutput: z.ZodTypeAny;
6
- declare const plausibleAnalyticsQueryStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlausibleAnalyticsQueryStatsInput: z.ZodObject<{
5
+ filters: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>>;
6
+ metrics: z.ZodArray<z.ZodString>;
7
+ site_id: z.ZodString;
8
+ date_range: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
9
+ dimensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>;
11
+ declare const PlausibleAnalyticsQueryStatsOutput: z.ZodObject<{
12
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ }, z.core.$strip>>>;
15
+ results: z.ZodArray<z.ZodObject<{
16
+ metrics: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber]>>;
17
+ dimensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>>>;
18
+ }, z.core.$strip>>;
19
+ }, z.core.$strip>;
20
+ declare const plausibleAnalyticsQueryStats: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ metrics: string[];
22
+ site_id: string;
23
+ date_range: string | string[];
24
+ filters?: (string | string[])[][] | undefined;
25
+ dimensions?: string[] | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { plausibleAnalyticsQueryStats };
9
29
  //# sourceMappingURL=query-stats.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-stats.d.mts","names":[],"sources":["../../src/actions/query-stats.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAM0C;AAAA,cAQ/E,kCAAA,EAAoC,CAAA,CAAE,UAGW;AAAA,cAEjD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"query-stats.d.mts","names":[],"sources":["../../src/actions/query-stats.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAcjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}