@keystrokehq/prerender 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 (85) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/change-recache-speed.cjs.map +1 -1
  4. package/dist/actions/change-recache-speed.d.cts +19 -3
  5. package/dist/actions/change-recache-speed.d.cts.map +1 -1
  6. package/dist/actions/change-recache-speed.d.mts +19 -3
  7. package/dist/actions/change-recache-speed.d.mts.map +1 -1
  8. package/dist/actions/change-recache-speed.mjs.map +1 -1
  9. package/dist/actions/check-health.cjs +1 -1
  10. package/dist/actions/check-health.cjs.map +1 -1
  11. package/dist/actions/check-health.d.cts +8 -3
  12. package/dist/actions/check-health.d.cts.map +1 -1
  13. package/dist/actions/check-health.d.mts +8 -3
  14. package/dist/actions/check-health.d.mts.map +1 -1
  15. package/dist/actions/check-health.mjs +1 -1
  16. package/dist/actions/check-health.mjs.map +1 -1
  17. package/dist/actions/clear-cache.cjs +1 -1
  18. package/dist/actions/clear-cache.cjs.map +1 -1
  19. package/dist/actions/clear-cache.d.cts +9 -3
  20. package/dist/actions/clear-cache.d.cts.map +1 -1
  21. package/dist/actions/clear-cache.d.mts +9 -3
  22. package/dist/actions/clear-cache.d.mts.map +1 -1
  23. package/dist/actions/clear-cache.mjs +1 -1
  24. package/dist/actions/clear-cache.mjs.map +1 -1
  25. package/dist/actions/create-seo-audit-report.cjs +1 -1
  26. package/dist/actions/create-seo-audit-report.cjs.map +1 -1
  27. package/dist/actions/create-seo-audit-report.d.cts +15 -3
  28. package/dist/actions/create-seo-audit-report.d.cts.map +1 -1
  29. package/dist/actions/create-seo-audit-report.d.mts +15 -3
  30. package/dist/actions/create-seo-audit-report.d.mts.map +1 -1
  31. package/dist/actions/create-seo-audit-report.mjs +1 -1
  32. package/dist/actions/create-seo-audit-report.mjs.map +1 -1
  33. package/dist/actions/get-cache-clear-status.cjs +1 -1
  34. package/dist/actions/get-cache-clear-status.cjs.map +1 -1
  35. package/dist/actions/get-cache-clear-status.d.cts +9 -3
  36. package/dist/actions/get-cache-clear-status.d.cts.map +1 -1
  37. package/dist/actions/get-cache-clear-status.d.mts +9 -3
  38. package/dist/actions/get-cache-clear-status.d.mts.map +1 -1
  39. package/dist/actions/get-cache-clear-status.mjs +1 -1
  40. package/dist/actions/get-cache-clear-status.mjs.map +1 -1
  41. package/dist/actions/get-prerendered-page.cjs +1 -1
  42. package/dist/actions/get-prerendered-page.cjs.map +1 -1
  43. package/dist/actions/get-prerendered-page.d.cts +9 -3
  44. package/dist/actions/get-prerendered-page.d.cts.map +1 -1
  45. package/dist/actions/get-prerendered-page.d.mts +9 -3
  46. package/dist/actions/get-prerendered-page.d.mts.map +1 -1
  47. package/dist/actions/get-prerendered-page.mjs +1 -1
  48. package/dist/actions/get-prerendered-page.mjs.map +1 -1
  49. package/dist/actions/list-healthz.cjs +1 -1
  50. package/dist/actions/list-healthz.cjs.map +1 -1
  51. package/dist/actions/list-healthz.d.cts +5 -3
  52. package/dist/actions/list-healthz.d.cts.map +1 -1
  53. package/dist/actions/list-healthz.d.mts +5 -3
  54. package/dist/actions/list-healthz.d.mts.map +1 -1
  55. package/dist/actions/list-healthz.mjs +1 -1
  56. package/dist/actions/list-healthz.mjs.map +1 -1
  57. package/dist/actions/list-v3.cjs +1 -1
  58. package/dist/actions/list-v3.cjs.map +1 -1
  59. package/dist/actions/list-v3.d.cts +5 -3
  60. package/dist/actions/list-v3.d.cts.map +1 -1
  61. package/dist/actions/list-v3.d.mts +5 -3
  62. package/dist/actions/list-v3.d.mts.map +1 -1
  63. package/dist/actions/list-v3.mjs +1 -1
  64. package/dist/actions/list-v3.mjs.map +1 -1
  65. package/dist/actions/recache-url.cjs +2 -2
  66. package/dist/actions/recache-url.cjs.map +1 -1
  67. package/dist/actions/recache-url.d.cts +17 -3
  68. package/dist/actions/recache-url.d.cts.map +1 -1
  69. package/dist/actions/recache-url.d.mts +17 -3
  70. package/dist/actions/recache-url.d.mts.map +1 -1
  71. package/dist/actions/recache-url.mjs +2 -2
  72. package/dist/actions/recache-url.mjs.map +1 -1
  73. package/dist/actions/search-cached-urls.cjs.map +1 -1
  74. package/dist/actions/search-cached-urls.d.cts +25 -3
  75. package/dist/actions/search-cached-urls.d.cts.map +1 -1
  76. package/dist/actions/search-cached-urls.d.mts +25 -3
  77. package/dist/actions/search-cached-urls.d.mts.map +1 -1
  78. package/dist/actions/search-cached-urls.mjs.map +1 -1
  79. package/dist/catalog.cjs +7 -1
  80. package/dist/catalog.cjs.map +1 -1
  81. package/dist/catalog.d.cts +8 -0
  82. package/dist/catalog.d.mts +8 -0
  83. package/dist/catalog.mjs +7 -1
  84. package/dist/catalog.mjs.map +1 -1
  85. package/package.json +2 -2
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-prerendered-page.d.ts
4
- declare const PrerenderGetPrerenderedPageInput: z.ZodTypeAny;
5
- declare const PrerenderGetPrerenderedPageOutput: z.ZodTypeAny;
6
- declare const prerenderGetPrerenderedPage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderGetPrerenderedPageInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PrerenderGetPrerenderedPageOutput: z.ZodObject<{
8
+ html: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const prerenderGetPrerenderedPage: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ url: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { prerenderGetPrerenderedPage };
9
15
  //# sourceMappingURL=get-prerendered-page.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-prerendered-page.d.cts","names":[],"sources":["../../src/actions/get-prerendered-page.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEmB;AAAA,cACvD,iCAAA,EAAmC,CAAA,CAAE,UAEoB;AAAA,cAEzD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-prerendered-page.d.cts","names":[],"sources":["../../src/actions/get-prerendered-page.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-prerendered-page.d.ts
4
- declare const PrerenderGetPrerenderedPageInput: z.ZodTypeAny;
5
- declare const PrerenderGetPrerenderedPageOutput: z.ZodTypeAny;
6
- declare const prerenderGetPrerenderedPage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderGetPrerenderedPageInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PrerenderGetPrerenderedPageOutput: z.ZodObject<{
8
+ html: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const prerenderGetPrerenderedPage: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ url: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { prerenderGetPrerenderedPage };
9
15
  //# sourceMappingURL=get-prerendered-page.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-prerendered-page.d.mts","names":[],"sources":["../../src/actions/get-prerendered-page.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEmB;AAAA,cACvD,iCAAA,EAAmC,CAAA,CAAE,UAEoB;AAAA,cAEzD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-prerendered-page.d.mts","names":[],"sources":["../../src/actions/get-prerendered-page.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -5,7 +5,7 @@ const prerenderGetPrerenderedPage = action("PRERENDER_GET_PRERENDERED_PAGE", {
5
5
  name: "Get Prerendered Page",
6
6
  description: "Tool to fetch a prerendered HTML page. Use when you need a static snapshot of a page before dynamic rendering.",
7
7
  input: z.object({ url: z.string().describe("Full URL of the page to prerender. Include scheme (http/https). URL will be percent-encoded as needed.") }).describe("Request model for retrieving a prerendered HTML page."),
8
- output: z.object({ html: z.string().describe("Prerendered HTML content of the requested URL.") }).describe("Response model containing the prerendered HTML content.")
8
+ output: z.object({ html: z.string().describe("Prerendered HTML content of the requested URL.").nullable() }).describe("Response model containing the prerendered HTML content.")
9
9
  });
10
10
  //#endregion
11
11
  export { prerenderGetPrerenderedPage };
@@ -1 +1 @@
1
- {"version":3,"file":"get-prerendered-page.mjs","names":[],"sources":["../../src/actions/get-prerendered-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderGetPrerenderedPageInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Full URL of the page to prerender. Include scheme (http/https). URL will be percent-encoded as needed.\"),\n}).describe(\"Request model for retrieving a prerendered HTML page.\");\nexport const PrerenderGetPrerenderedPageOutput: z.ZodTypeAny = z.object({\n html: z.string().describe(\"Prerendered HTML content of the requested URL.\"),\n}).describe(\"Response model containing the prerendered HTML content.\");\n\nexport const prerenderGetPrerenderedPage = action(\"PRERENDER_GET_PRERENDERED_PAGE\", {\n slug: \"prerender-get-prerendered-page\",\n name: \"Get Prerendered Page\",\n description: \"Tool to fetch a prerendered HTML page. Use when you need a static snapshot of a page before dynamic rendering.\",\n input: PrerenderGetPrerenderedPageInput,\n output: PrerenderGetPrerenderedPageOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4D,EAAE,OAAO,EACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,EACnI,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC5E,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-prerendered-page.mjs","names":[],"sources":["../../src/actions/get-prerendered-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderGetPrerenderedPageInput = z.object({\n url: z.string().describe(\"Full URL of the page to prerender. Include scheme (http/https). URL will be percent-encoded as needed.\"),\n}).describe(\"Request model for retrieving a prerendered HTML page.\");\nexport const PrerenderGetPrerenderedPageOutput = z.object({\n html: z.string().describe(\"Prerendered HTML content of the requested URL.\").nullable(),\n}).describe(\"Response model containing the prerendered HTML content.\");\n\nexport const prerenderGetPrerenderedPage = action(\"PRERENDER_GET_PRERENDERED_PAGE\", {\n slug: \"prerender-get-prerendered-page\",\n name: \"Get Prerendered Page\",\n description: \"Tool to fetch a prerendered HTML page. Use when you need a static snapshot of a page before dynamic rendering.\",\n input: PrerenderGetPrerenderedPageInput,\n output: PrerenderGetPrerenderedPageOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,EACnI,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/list-healthz.ts
4
4
  const PrerenderListHealthzInput = zod.z.object({}).describe("Request model for health check endpoint.");
5
- const PrerenderListHealthzOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the Prerender API is available and healthy.") }).describe("Response model containing health check status.");
5
+ const PrerenderListHealthzOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the Prerender API is available and healthy.").nullable() }).describe("Response model containing health check status.");
6
6
  const prerenderListHealthz = require_action.action("PRERENDER_LIST_HEALTHZ", {
7
7
  slug: "prerender-list-healthz",
8
8
  name: "List Healthz",
@@ -1 +1 @@
1
- {"version":3,"file":"list-healthz.cjs","names":["z","action"],"sources":["../../src/actions/list-healthz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListHealthzInput: z.ZodTypeAny = z.object({}).describe(\"Request model for health check endpoint.\");\nexport const PrerenderListHealthzOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the Prerender API is available and healthy.\"),\n}).describe(\"Response model containing health check status.\");\n\nexport const prerenderListHealthz = action(\"PRERENDER_LIST_HEALTHZ\", {\n slug: \"prerender-list-healthz\",\n name: \"List Healthz\",\n description: \"Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.\",\n input: PrerenderListHealthzInput,\n output: PrerenderListHealthzOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACvH,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-healthz.cjs","names":["z","action"],"sources":["../../src/actions/list-healthz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListHealthzInput = z.object({}).describe(\"Request model for health check endpoint.\");\nexport const PrerenderListHealthzOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the Prerender API is available and healthy.\").nullable(),\n}).describe(\"Response model containing health check status.\");\n\nexport const prerenderListHealthz = action(\"PRERENDER_LIST_HEALTHZ\", {\n slug: \"prerender-list-healthz\",\n name: \"List Healthz\",\n description: \"Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.\",\n input: PrerenderListHealthzInput,\n output: PrerenderListHealthzOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACzG,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-healthz.d.ts
4
- declare const PrerenderListHealthzInput: z.ZodTypeAny;
5
- declare const PrerenderListHealthzOutput: z.ZodTypeAny;
6
- declare const prerenderListHealthz: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderListHealthzInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PrerenderListHealthzOutput: z.ZodObject<{
6
+ success: z.ZodNullable<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const prerenderListHealthz: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { prerenderListHealthz };
9
11
  //# sourceMappingURL=list-healthz.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-healthz.d.cts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAA8E;AAAA,cAC3G,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-healthz.d.cts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-healthz.d.ts
4
- declare const PrerenderListHealthzInput: z.ZodTypeAny;
5
- declare const PrerenderListHealthzOutput: z.ZodTypeAny;
6
- declare const prerenderListHealthz: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderListHealthzInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PrerenderListHealthzOutput: z.ZodObject<{
6
+ success: z.ZodNullable<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const prerenderListHealthz: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { prerenderListHealthz };
9
11
  //# sourceMappingURL=list-healthz.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-healthz.d.mts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAA8E;AAAA,cAC3G,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-healthz.d.mts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,7 +5,7 @@ const prerenderListHealthz = action("PRERENDER_LIST_HEALTHZ", {
5
5
  name: "List Healthz",
6
6
  description: "Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.",
7
7
  input: z.object({}).describe("Request model for health check endpoint."),
8
- output: z.object({ success: z.boolean().describe("Indicates whether the Prerender API is available and healthy.") }).describe("Response model containing health check status.")
8
+ output: z.object({ success: z.boolean().describe("Indicates whether the Prerender API is available and healthy.").nullable() }).describe("Response model containing health check status.")
9
9
  });
10
10
  //#endregion
11
11
  export { prerenderListHealthz };
@@ -1 +1 @@
1
- {"version":3,"file":"list-healthz.mjs","names":[],"sources":["../../src/actions/list-healthz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListHealthzInput: z.ZodTypeAny = z.object({}).describe(\"Request model for health check endpoint.\");\nexport const PrerenderListHealthzOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the Prerender API is available and healthy.\"),\n}).describe(\"Response model containing health check status.\");\n\nexport const prerenderListHealthz = action(\"PRERENDER_LIST_HEALTHZ\", {\n slug: \"prerender-list-healthz\",\n name: \"List Healthz\",\n description: \"Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.\",\n input: PrerenderListHealthzInput,\n output: PrerenderListHealthzOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CASpE;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-healthz.mjs","names":[],"sources":["../../src/actions/list-healthz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListHealthzInput = z.object({}).describe(\"Request model for health check endpoint.\");\nexport const PrerenderListHealthzOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the Prerender API is available and healthy.\").nullable(),\n}).describe(\"Response model containing health check status.\");\n\nexport const prerenderListHealthz = action(\"PRERENDER_LIST_HEALTHZ\", {\n slug: \"prerender-list-healthz\",\n name: \"List Healthz\",\n description: \"Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.\",\n input: PrerenderListHealthzInput,\n output: PrerenderListHealthzOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAStD;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/list-v3.ts
4
4
  const PrerenderListV3Input = zod.z.object({}).describe("Request model for GET /v3 endpoint - no parameters required.");
5
- const PrerenderListV3Output = zod.z.object({ message: zod.z.string().describe("Greeting message returned by the API endpoint.") }).describe("Response model containing the greeting message from the API.");
5
+ const PrerenderListV3Output = zod.z.object({ message: zod.z.string().describe("Greeting message returned by the API endpoint.").nullable() }).describe("Response model containing the greeting message from the API.");
6
6
  const prerenderListV3 = require_action.action("PRERENDER_LIST_V3", {
7
7
  slug: "prerender-list-v3",
8
8
  name: "List V3",
@@ -1 +1 @@
1
- {"version":3,"file":"list-v3.cjs","names":["z","action"],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListV3Input: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\"),\n}).describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3 = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACtI,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-v3.cjs","names":["z","action"],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListV3Input = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\").nullable(),\n}).describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3 = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACxH,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-v3.d.ts
4
- declare const PrerenderListV3Input: z.ZodTypeAny;
5
- declare const PrerenderListV3Output: z.ZodTypeAny;
6
- declare const prerenderListV3: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderListV3Input: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PrerenderListV3Output: z.ZodObject<{
6
+ message: z.ZodNullable<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const prerenderListV3: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { prerenderListV3 };
9
11
  //# sourceMappingURL=list-v3.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-v3.d.cts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAAkG;AAAA,cAC1H,qBAAA,EAAuB,CAAA,CAAE,UAEqC;AAAA,cAE9D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-v3.d.cts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,11 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-v3.d.ts
4
- declare const PrerenderListV3Input: z.ZodTypeAny;
5
- declare const PrerenderListV3Output: z.ZodTypeAny;
6
- declare const prerenderListV3: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderListV3Input: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PrerenderListV3Output: z.ZodObject<{
6
+ message: z.ZodNullable<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const prerenderListV3: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
9
  //#endregion
8
10
  export { prerenderListV3 };
9
11
  //# sourceMappingURL=list-v3.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-v3.d.mts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAAkG;AAAA,cAC1H,qBAAA,EAAuB,CAAA,CAAE,UAEqC;AAAA,cAE9D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-v3.d.mts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,7 +5,7 @@ const prerenderListV3 = action("PRERENDER_LIST_V3", {
5
5
  name: "List V3",
6
6
  description: "Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.",
7
7
  input: z.object({}).describe("Request model for GET /v3 endpoint - no parameters required."),
8
- output: z.object({ message: z.string().describe("Greeting message returned by the API endpoint.") }).describe("Response model containing the greeting message from the API.")
8
+ output: z.object({ message: z.string().describe("Greeting message returned by the API endpoint.").nullable() }).describe("Response model containing the greeting message from the API.")
9
9
  });
10
10
  //#endregion
11
11
  export { prerenderListV3 };
@@ -1 +1 @@
1
- {"version":3,"file":"list-v3.mjs","names":[],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListV3Input: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\"),\n}).describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3 = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAS/D;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-v3.mjs","names":[],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListV3Input = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\").nullable(),\n}).describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3 = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DASjD;CACP,QATmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -7,8 +7,8 @@ const PrerenderRecacheUrlInput = zod.z.object({
7
7
  adaptive_type: zod.z.enum(["desktop", "mobile"]).describe("Rendering device type for caching.").optional()
8
8
  }).describe("Request model for caching or recaching URLs.");
9
9
  const PrerenderRecacheUrlOutput = zod.z.object({
10
- message: zod.z.string().describe("Response message from the API. Typically indicates that the recache operation has been queued successfully."),
11
- status_code: zod.z.number().int().describe("HTTP status code from the recache request. 200 indicates success.")
10
+ message: zod.z.string().describe("Response message from the API. Typically indicates that the recache operation has been queued successfully.").nullable(),
11
+ status_code: zod.z.number().int().describe("HTTP status code from the recache request. 200 indicates success.").nullable()
12
12
  }).describe("Response model for recache operation.");
13
13
  const prerenderRecacheUrl = require_action.action("PRERENDER_RECACHE_URL", {
14
14
  slug: "prerender-recache-url",
@@ -1 +1 @@
1
- {"version":3,"file":"recache-url.cjs","names":["z","action"],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderRecacheUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\"),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\"),\n}).describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CAC/N,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACvR,eAAeA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC1I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;AAC5G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"recache-url.cjs","names":["z","action"],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderRecacheUrlInput = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\").nullable(),\n}).describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CAC/N,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACvR,eAAeA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/recache-url.d.ts
4
- declare const PrerenderRecacheUrlInput: z.ZodTypeAny;
5
- declare const PrerenderRecacheUrlOutput: z.ZodTypeAny;
6
- declare const prerenderRecacheUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderRecacheUrlInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ adaptive_type: z.ZodOptional<z.ZodEnum<{
8
+ mobile: "mobile";
9
+ desktop: "desktop";
10
+ }>>;
11
+ }, z.core.$strip>;
12
+ declare const PrerenderRecacheUrlOutput: z.ZodObject<{
13
+ message: z.ZodNullable<z.ZodString>;
14
+ status_code: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$strip>;
16
+ declare const prerenderRecacheUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ url?: string | undefined;
18
+ urls?: string[] | undefined;
19
+ adaptive_type?: "mobile" | "desktop" | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { prerenderRecacheUrl };
9
23
  //# sourceMappingURL=recache-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recache-url.d.cts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIkB;AAAA,cAC9C,yBAAA,EAA2B,CAAA,CAAE,UAGU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"recache-url.d.cts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/recache-url.d.ts
4
- declare const PrerenderRecacheUrlInput: z.ZodTypeAny;
5
- declare const PrerenderRecacheUrlOutput: z.ZodTypeAny;
6
- declare const prerenderRecacheUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderRecacheUrlInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ adaptive_type: z.ZodOptional<z.ZodEnum<{
8
+ mobile: "mobile";
9
+ desktop: "desktop";
10
+ }>>;
11
+ }, z.core.$strip>;
12
+ declare const PrerenderRecacheUrlOutput: z.ZodObject<{
13
+ message: z.ZodNullable<z.ZodString>;
14
+ status_code: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$strip>;
16
+ declare const prerenderRecacheUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ url?: string | undefined;
18
+ urls?: string[] | undefined;
19
+ adaptive_type?: "mobile" | "desktop" | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { prerenderRecacheUrl };
9
23
  //# sourceMappingURL=recache-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recache-url.d.mts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIkB;AAAA,cAC9C,yBAAA,EAA2B,CAAA,CAAE,UAGU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"recache-url.d.mts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -10,8 +10,8 @@ const prerenderRecacheUrl = action("PRERENDER_RECACHE_URL", {
10
10
  adaptive_type: z.enum(["desktop", "mobile"]).describe("Rendering device type for caching.").optional()
11
11
  }).describe("Request model for caching or recaching URLs."),
12
12
  output: z.object({
13
- message: z.string().describe("Response message from the API. Typically indicates that the recache operation has been queued successfully."),
14
- status_code: z.number().int().describe("HTTP status code from the recache request. 200 indicates success.")
13
+ message: z.string().describe("Response message from the API. Typically indicates that the recache operation has been queued successfully.").nullable(),
14
+ status_code: z.number().int().describe("HTTP status code from the recache request. 200 indicates success.").nullable()
15
15
  }).describe("Response model for recache operation.")
16
16
  });
17
17
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"recache-url.mjs","names":[],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderRecacheUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\"),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\"),\n}).describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdoD,EAAE,OAAO;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;EAC/N,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACvR,eAAe,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EAC1I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;CAC5G,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"recache-url.mjs","names":[],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderRecacheUrlInput = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\").nullable(),\n}).describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;EAC/N,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACvR,eAAe,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"search-cached-urls.cjs","names":["z","action"],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderSearchCachedUrlsInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput: z.ZodTypeAny = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAeA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-cached-urls.cjs","names":["z","action"],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderSearchCachedUrlsInput = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAeA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-cached-urls.d.ts
4
- declare const PrerenderSearchCachedUrlsInput: z.ZodTypeAny;
5
- declare const PrerenderSearchCachedUrlsOutput: z.ZodTypeAny;
6
- declare const prerenderSearchCachedUrls: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderSearchCachedUrlsInput: z.ZodObject<{
5
+ query: z.ZodOptional<z.ZodString>;
6
+ start: z.ZodOptional<z.ZodNumber>;
7
+ exact_match: z.ZodOptional<z.ZodString>;
8
+ adaptive_type: z.ZodOptional<z.ZodEnum<{
9
+ mobile: "mobile";
10
+ desktop: "desktop";
11
+ }>>;
12
+ }, z.core.$strip>;
13
+ declare const PrerenderSearchCachedUrlsOutput: z.ZodObject<{
14
+ cached_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ cache_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ last_refresh: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ adaptive_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ requested_recache_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ }, z.core.$strip>;
23
+ declare const prerenderSearchCachedUrls: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ query?: string | undefined;
25
+ start?: number | undefined;
26
+ exact_match?: string | undefined;
27
+ adaptive_type?: "mobile" | "desktop" | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { prerenderSearchCachedUrls };
9
31
  //# sourceMappingURL=search-cached-urls.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-cached-urls.d.cts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKkC;AAAA,cASpE,+BAAA,EAAiC,CAAA,CAAE,UAEa;AAAA,cAEhD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"search-cached-urls.d.cts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-cached-urls.d.ts
4
- declare const PrerenderSearchCachedUrlsInput: z.ZodTypeAny;
5
- declare const PrerenderSearchCachedUrlsOutput: z.ZodTypeAny;
6
- declare const prerenderSearchCachedUrls: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PrerenderSearchCachedUrlsInput: z.ZodObject<{
5
+ query: z.ZodOptional<z.ZodString>;
6
+ start: z.ZodOptional<z.ZodNumber>;
7
+ exact_match: z.ZodOptional<z.ZodString>;
8
+ adaptive_type: z.ZodOptional<z.ZodEnum<{
9
+ mobile: "mobile";
10
+ desktop: "desktop";
11
+ }>>;
12
+ }, z.core.$strip>;
13
+ declare const PrerenderSearchCachedUrlsOutput: z.ZodObject<{
14
+ cached_urls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ cache_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ last_refresh: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ adaptive_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ requested_recache_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ }, z.core.$strip>;
23
+ declare const prerenderSearchCachedUrls: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ query?: string | undefined;
25
+ start?: number | undefined;
26
+ exact_match?: string | undefined;
27
+ adaptive_type?: "mobile" | "desktop" | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { prerenderSearchCachedUrls };
9
31
  //# sourceMappingURL=search-cached-urls.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-cached-urls.d.mts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKkC;AAAA,cASpE,+BAAA,EAAiC,CAAA,CAAE,UAEa;AAAA,cAEhD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"search-cached-urls.d.mts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"search-cached-urls.mjs","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderSearchCachedUrlsInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput: z.ZodTypeAny = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAe,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAKzC,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"search-cached-urls.mjs","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderSearchCachedUrlsInput = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAe,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAKzC,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const prerenderCatalog = {
7
7
  "category": "Developer Tools",
8
8
  "logo": "https://logos.composio.dev/api/prerender",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Prerender.io API Token",
13
+ "secret": true,
14
+ "description": "Your Prerender.io API token, found in the Prerender.io dashboard (Security and Access menu)."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.prerenderCatalog = prerenderCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prerenderCatalog = {\n \"slug\": \"prerender\",\n \"name\": \"Prerender\",\n \"description\": \"Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/prerender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prerenderCatalog = {\n \"slug\": \"prerender\",\n \"name\": \"Prerender\",\n \"description\": \"Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/prerender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Prerender.io API Token\",\n \"secret\": true,\n \"description\": \"Your Prerender.io API token, found in the Prerender.io dashboard (Security and Access menu).\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const prerenderCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/prerender";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Prerender.io API Token";
14
+ readonly secret: true;
15
+ readonly description: "Your Prerender.io API token, found in the Prerender.io dashboard (Security and Access menu).";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { prerenderCatalog };
@@ -8,6 +8,14 @@ declare const prerenderCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/prerender";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Prerender.io API Token";
14
+ readonly secret: true;
15
+ readonly description: "Your Prerender.io API token, found in the Prerender.io dashboard (Security and Access menu).";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { prerenderCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const prerenderCatalog = {
7
7
  "category": "Developer Tools",
8
8
  "logo": "https://logos.composio.dev/api/prerender",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Prerender.io API Token",
13
+ "secret": true,
14
+ "description": "Your Prerender.io API token, found in the Prerender.io dashboard (Security and Access menu)."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { prerenderCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prerenderCatalog = {\n \"slug\": \"prerender\",\n \"name\": \"Prerender\",\n \"description\": \"Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/prerender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prerenderCatalog = {\n \"slug\": \"prerender\",\n \"name\": \"Prerender\",\n \"description\": \"Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/prerender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Prerender.io API Token\",\n \"secret\": true,\n \"description\": \"Your Prerender.io API token, found in the Prerender.io dashboard (Security and Access menu).\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}