@keystrokehq/moz 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/fetch-metadata-index.cjs +2 -2
- package/dist/actions/fetch-metadata-index.cjs.map +1 -1
- package/dist/actions/fetch-metadata-index.d.cts +2 -2
- package/dist/actions/fetch-metadata-index.d.mts +2 -2
- package/dist/actions/fetch-metadata-index.mjs +2 -2
- package/dist/actions/fetch-metadata-index.mjs.map +1 -1
- package/dist/actions/fetch-site-metrics.cjs +2 -2
- package/dist/actions/fetch-site-metrics.cjs.map +1 -1
- package/dist/actions/fetch-site-metrics.d.cts +2 -2
- package/dist/actions/fetch-site-metrics.d.mts +2 -2
- package/dist/actions/fetch-site-metrics.mjs +2 -2
- package/dist/actions/fetch-site-metrics.mjs.map +1 -1
- package/dist/actions/get-global-top-root-domains.cjs +3 -3
- package/dist/actions/get-global-top-root-domains.cjs.map +1 -1
- package/dist/actions/get-global-top-root-domains.d.cts +3 -3
- package/dist/actions/get-global-top-root-domains.d.mts +3 -3
- package/dist/actions/get-global-top-root-domains.mjs +3 -3
- package/dist/actions/get-global-top-root-domains.mjs.map +1 -1
- package/dist/actions/get-usage-data.cjs +1 -1
- package/dist/actions/get-usage-data.cjs.map +1 -1
- package/dist/actions/get-usage-data.d.cts +1 -1
- package/dist/actions/get-usage-data.d.mts +1 -1
- package/dist/actions/get-usage-data.mjs +1 -1
- package/dist/actions/get-usage-data.mjs.map +1 -1
- package/dist/actions/global-top-pages.cjs +2 -2
- package/dist/actions/global-top-pages.cjs.map +1 -1
- package/dist/actions/global-top-pages.d.cts +2 -2
- package/dist/actions/global-top-pages.d.mts +2 -2
- package/dist/actions/global-top-pages.mjs +2 -2
- package/dist/actions/global-top-pages.mjs.map +1 -1
- package/dist/actions/index-metadata.cjs +1 -1
- package/dist/actions/index-metadata.cjs.map +1 -1
- package/dist/actions/index-metadata.d.cts +1 -1
- package/dist/actions/index-metadata.d.mts +1 -1
- package/dist/actions/index-metadata.mjs +1 -1
- package/dist/actions/index-metadata.mjs.map +1 -1
- package/dist/actions/link-status.cjs +1 -1
- package/dist/actions/link-status.cjs.map +1 -1
- package/dist/actions/link-status.d.cts +1 -1
- package/dist/actions/link-status.d.mts +1 -1
- package/dist/actions/link-status.mjs +1 -1
- package/dist/actions/link-status.mjs.map +1 -1
- package/dist/actions/list-global-top-domains.cjs +2 -2
- package/dist/actions/list-global-top-domains.cjs.map +1 -1
- package/dist/actions/list-global-top-domains.d.cts +2 -2
- package/dist/actions/list-global-top-domains.d.mts +2 -2
- package/dist/actions/list-global-top-domains.mjs +2 -2
- package/dist/actions/list-global-top-domains.mjs.map +1 -1
- package/dist/actions/list-global-top-pages.cjs +3 -3
- package/dist/actions/list-global-top-pages.cjs.map +1 -1
- package/dist/actions/list-global-top-pages.d.cts +3 -3
- package/dist/actions/list-global-top-pages.d.mts +3 -3
- package/dist/actions/list-global-top-pages.mjs +3 -3
- package/dist/actions/list-global-top-pages.mjs.map +1 -1
- package/dist/actions/lookup-quota.cjs +1 -1
- package/dist/actions/lookup-quota.cjs.map +1 -1
- package/dist/actions/lookup-quota.d.cts +1 -1
- package/dist/actions/lookup-quota.d.mts +1 -1
- package/dist/actions/lookup-quota.mjs +1 -1
- package/dist/actions/lookup-quota.mjs.map +1 -1
- package/dist/actions/post-top-pages.cjs +2 -2
- package/dist/actions/post-top-pages.cjs.map +1 -1
- package/dist/actions/post-top-pages.d.cts +2 -2
- package/dist/actions/post-top-pages.d.mts +2 -2
- package/dist/actions/post-top-pages.mjs +2 -2
- package/dist/actions/post-top-pages.mjs.map +1 -1
- package/dist/actions/usage-data.cjs +4 -4
- package/dist/actions/usage-data.cjs.map +1 -1
- package/dist/actions/usage-data.d.cts +5 -5
- package/dist/actions/usage-data.d.mts +5 -5
- package/dist/actions/usage-data.mjs +4 -4
- package/dist/actions/usage-data.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/fetch-metadata-index.ts
|
|
4
4
|
const MozFetchMetadataIndexInput = zod.z.object({ request_id: zod.z.string().describe("Optional unique identifier for the JSON-RPC request (min 24 chars). If not provided, a UUID will be generated automatically.").optional() }).describe("Request model for fetching index metadata.\nThis is a JSON-RPC 2.0 call that requires minimal parameters.");
|
|
5
|
-
const MozFetchMetadataIndex_IndexResultSchema = zod.z.object({ index_id: zod.z.string().describe("The current index ID that changes when data in the index is updated (base64 encoded string).").nullable() }).describe("Result object containing the index metadata.");
|
|
5
|
+
const MozFetchMetadataIndex_IndexResultSchema = zod.z.object({ index_id: zod.z.string().describe("The current index ID that changes when data in the index is updated (base64 encoded string).").nullable() }).passthrough().describe("Result object containing the index metadata.");
|
|
6
6
|
const MozFetchMetadataIndexOutput = zod.z.object({
|
|
7
7
|
id: zod.z.string().describe("The request ID echoed back from the JSON-RPC call.").nullable(),
|
|
8
8
|
result: MozFetchMetadataIndex_IndexResultSchema.nullable(),
|
|
9
9
|
jsonrpc: zod.z.string().describe("JSON-RPC protocol version (should be '2.0').").nullable()
|
|
10
|
-
}).describe("Response from the metadata.index.fetch JSON-RPC call.");
|
|
10
|
+
}).passthrough().describe("Response from the metadata.index.fetch JSON-RPC call.");
|
|
11
11
|
const mozFetchMetadataIndex = require_action.action("MOZ_FETCH_METADATA_INDEX", {
|
|
12
12
|
slug: "moz-fetch-metadata-index",
|
|
13
13
|
name: "Fetch Metadata Index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-metadata-index.cjs","names":["z","action"],"sources":["../../src/actions/fetch-metadata-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozFetchMetadataIndexInput = z.object({\n request_id: z.string().describe(\"Optional unique identifier for the JSON-RPC request (min 24 chars). If not provided, a UUID will be generated automatically.\").optional(),\n}).describe(\"Request model for fetching index metadata.\\nThis is a JSON-RPC 2.0 call that requires minimal parameters.\");\nconst MozFetchMetadataIndex_IndexResultSchema = z.object({\n index_id: z.string().describe(\"The current index ID that changes when data in the index is updated (base64 encoded string).\").nullable(),\n}).describe(\"Result object containing the index metadata.\");\nexport const MozFetchMetadataIndexOutput = z.object({\n id: z.string().describe(\"The request ID echoed back from the JSON-RPC call.\").nullable(),\n result: MozFetchMetadataIndex_IndexResultSchema.nullable(),\n jsonrpc: z.string().describe(\"JSON-RPC protocol version (should be '2.0').\").nullable(),\n}).describe(\"Response from the metadata.index.fetch JSON-RPC call.\");\n\nexport const mozFetchMetadataIndex = action(\"MOZ_FETCH_METADATA_INDEX\", {\n slug: \"moz-fetch-metadata-index\",\n name: \"Fetch Metadata Index\",\n description: \"Tool to fetch current index metadata from Moz via JSON-RPC. Returns an index ID that changes when the data in the index is updated. Use when you need to track index updates or verify the current index state.\",\n input: MozFetchMetadataIndexInput,\n output: MozFetchMetadataIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"fetch-metadata-index.cjs","names":["z","action"],"sources":["../../src/actions/fetch-metadata-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozFetchMetadataIndexInput = z.object({\n request_id: z.string().describe(\"Optional unique identifier for the JSON-RPC request (min 24 chars). If not provided, a UUID will be generated automatically.\").optional(),\n}).describe(\"Request model for fetching index metadata.\\nThis is a JSON-RPC 2.0 call that requires minimal parameters.\");\nconst MozFetchMetadataIndex_IndexResultSchema = z.object({\n index_id: z.string().describe(\"The current index ID that changes when data in the index is updated (base64 encoded string).\").nullable(),\n}).passthrough().describe(\"Result object containing the index metadata.\");\nexport const MozFetchMetadataIndexOutput = z.object({\n id: z.string().describe(\"The request ID echoed back from the JSON-RPC call.\").nullable(),\n result: MozFetchMetadataIndex_IndexResultSchema.nullable(),\n jsonrpc: z.string().describe(\"JSON-RPC protocol version (should be '2.0').\").nullable(),\n}).passthrough().describe(\"Response from the metadata.index.fetch JSON-RPC call.\");\n\nexport const mozFetchMetadataIndex = action(\"MOZ_FETCH_METADATA_INDEX\", {\n slug: \"moz-fetch-metadata-index\",\n name: \"Fetch Metadata Index\",\n description: \"Tool to fetch current index metadata from Moz via JSON-RPC. Returns an index ID that changes when the data in the index is updated. Use when you need to track index updates or verify the current index state.\",\n input: MozFetchMetadataIndexInput,\n output: MozFetchMetadataIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,QAAQ,wCAAwC,SAAS;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,9 +8,9 @@ declare const MozFetchMetadataIndexOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodNullable<z.ZodString>;
|
|
9
9
|
result: z.ZodNullable<z.ZodObject<{
|
|
10
10
|
index_id: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
jsonrpc: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const mozFetchMetadataIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
request_id?: string | undefined;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,9 +8,9 @@ declare const MozFetchMetadataIndexOutput: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodNullable<z.ZodString>;
|
|
9
9
|
result: z.ZodNullable<z.ZodObject<{
|
|
10
10
|
index_id: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
jsonrpc: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const mozFetchMetadataIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
request_id?: string | undefined;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/fetch-metadata-index.ts
|
|
4
4
|
const MozFetchMetadataIndexInput = z.object({ request_id: z.string().describe("Optional unique identifier for the JSON-RPC request (min 24 chars). If not provided, a UUID will be generated automatically.").optional() }).describe("Request model for fetching index metadata.\nThis is a JSON-RPC 2.0 call that requires minimal parameters.");
|
|
5
|
-
const MozFetchMetadataIndex_IndexResultSchema = z.object({ index_id: z.string().describe("The current index ID that changes when data in the index is updated (base64 encoded string).").nullable() }).describe("Result object containing the index metadata.");
|
|
5
|
+
const MozFetchMetadataIndex_IndexResultSchema = z.object({ index_id: z.string().describe("The current index ID that changes when data in the index is updated (base64 encoded string).").nullable() }).passthrough().describe("Result object containing the index metadata.");
|
|
6
6
|
const mozFetchMetadataIndex = action("MOZ_FETCH_METADATA_INDEX", {
|
|
7
7
|
slug: "moz-fetch-metadata-index",
|
|
8
8
|
name: "Fetch Metadata Index",
|
|
@@ -12,7 +12,7 @@ const mozFetchMetadataIndex = action("MOZ_FETCH_METADATA_INDEX", {
|
|
|
12
12
|
id: z.string().describe("The request ID echoed back from the JSON-RPC call.").nullable(),
|
|
13
13
|
result: MozFetchMetadataIndex_IndexResultSchema.nullable(),
|
|
14
14
|
jsonrpc: z.string().describe("JSON-RPC protocol version (should be '2.0').").nullable()
|
|
15
|
-
}).describe("Response from the metadata.index.fetch JSON-RPC call.")
|
|
15
|
+
}).passthrough().describe("Response from the metadata.index.fetch JSON-RPC call.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { mozFetchMetadataIndex };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-metadata-index.mjs","names":[],"sources":["../../src/actions/fetch-metadata-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozFetchMetadataIndexInput = z.object({\n request_id: z.string().describe(\"Optional unique identifier for the JSON-RPC request (min 24 chars). If not provided, a UUID will be generated automatically.\").optional(),\n}).describe(\"Request model for fetching index metadata.\\nThis is a JSON-RPC 2.0 call that requires minimal parameters.\");\nconst MozFetchMetadataIndex_IndexResultSchema = z.object({\n index_id: z.string().describe(\"The current index ID that changes when data in the index is updated (base64 encoded string).\").nullable(),\n}).describe(\"Result object containing the index metadata.\");\nexport const MozFetchMetadataIndexOutput = z.object({\n id: z.string().describe(\"The request ID echoed back from the JSON-RPC call.\").nullable(),\n result: MozFetchMetadataIndex_IndexResultSchema.nullable(),\n jsonrpc: z.string().describe(\"JSON-RPC protocol version (should be '2.0').\").nullable(),\n}).describe(\"Response from the metadata.index.fetch JSON-RPC call.\");\n\nexport const mozFetchMetadataIndex = action(\"MOZ_FETCH_METADATA_INDEX\", {\n slug: \"moz-fetch-metadata-index\",\n name: \"Fetch Metadata Index\",\n description: \"Tool to fetch current index metadata from Moz via JSON-RPC. Returns an index ID that changes when the data in the index is updated. Use when you need to track index updates or verify the current index state.\",\n input: MozFetchMetadataIndexInput,\n output: MozFetchMetadataIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,0CAA0C,EAAE,OAAO,EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"fetch-metadata-index.mjs","names":[],"sources":["../../src/actions/fetch-metadata-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozFetchMetadataIndexInput = z.object({\n request_id: z.string().describe(\"Optional unique identifier for the JSON-RPC request (min 24 chars). If not provided, a UUID will be generated automatically.\").optional(),\n}).describe(\"Request model for fetching index metadata.\\nThis is a JSON-RPC 2.0 call that requires minimal parameters.\");\nconst MozFetchMetadataIndex_IndexResultSchema = z.object({\n index_id: z.string().describe(\"The current index ID that changes when data in the index is updated (base64 encoded string).\").nullable(),\n}).passthrough().describe(\"Result object containing the index metadata.\");\nexport const MozFetchMetadataIndexOutput = z.object({\n id: z.string().describe(\"The request ID echoed back from the JSON-RPC call.\").nullable(),\n result: MozFetchMetadataIndex_IndexResultSchema.nullable(),\n jsonrpc: z.string().describe(\"JSON-RPC protocol version (should be '2.0').\").nullable(),\n}).passthrough().describe(\"Response from the metadata.index.fetch JSON-RPC call.\");\n\nexport const mozFetchMetadataIndex = action(\"MOZ_FETCH_METADATA_INDEX\", {\n slug: \"moz-fetch-metadata-index\",\n name: \"Fetch Metadata Index\",\n description: \"Tool to fetch current index metadata from Moz via JSON-RPC. Returns an index ID that changes when the data in the index is updated. Use when you need to track index updates or verify the current index state.\",\n input: MozFetchMetadataIndexInput,\n output: MozFetchMetadataIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,0CAA0C,EAAE,OAAO,EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAOxE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACvF,QAAQ,wCAAwC,SAAS;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -35,13 +35,13 @@ const MozFetchSiteMetrics_SiteMetricsSchema = zod.z.object({
|
|
|
35
35
|
root_domains_to_root_domain: zod.z.number().int().describe("Number of unique root domains linking to this root domain.").nullable().optional(),
|
|
36
36
|
external_pages_to_root_domain: zod.z.number().int().describe("Number of external pages linking to this root domain.").nullable().optional(),
|
|
37
37
|
nofollow_pages_to_root_domain: zod.z.number().int().describe("Number of nofollow pages linking to this root domain.").nullable().optional()
|
|
38
|
-
}).describe("Site metrics data returned by Moz API.");
|
|
38
|
+
}).passthrough().describe("Site metrics data returned by Moz API.");
|
|
39
39
|
const MozFetchSiteMetricsOutput = zod.z.object({
|
|
40
40
|
id: zod.z.string().describe("Request identifier echoed from the request.").nullable(),
|
|
41
41
|
error: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Error object if the request failed. Contains 'code' and 'message' fields.").nullable().optional(),
|
|
42
42
|
result: MozFetchSiteMetrics_SiteMetricsSchema.nullable().optional(),
|
|
43
43
|
jsonrpc: zod.z.string().describe("JSON-RPC version, always '2.0'.").nullable()
|
|
44
|
-
}).describe("Response model for site metrics fetch action.");
|
|
44
|
+
}).passthrough().describe("Response model for site metrics fetch action.");
|
|
45
45
|
const mozFetchSiteMetrics = require_action.action("MOZ_FETCH_SITE_METRICS", {
|
|
46
46
|
slug: "moz-fetch-site-metrics",
|
|
47
47
|
name: "Fetch Site Metrics",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-site-metrics.cjs","names":["z","action"],"sources":["../../src/actions/fetch-site-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozFetchSiteMetricsInput = z.object({\n request_id: z.string().describe(\"Unique identifier for the JSON-RPC request (min 24 characters). Auto-generated if not provided.\").optional(),\n site_query: z.object({\n query: z.string().describe(\"The domain or URL to fetch metrics for (e.g., 'moz.com', 'example.com').\"),\n scope: z.enum([\"page\", \"domain\", \"subdomain\", \"root_domain\"]).default(\"domain\").describe(\"The scope of the query. Use 'domain' for root domain metrics, 'page' for specific URL metrics.\").optional(),\n}).describe(\"Site query parameters containing the target domain/URL and scope.\"),\n}).describe(\"Request model for fetching site metrics via Moz JSON-RPC API.\");\nconst MozFetchSiteMetrics_SiteMetricsSchema = z.object({\n page: z.string().describe(\"The queried page URL.\").nullable().optional(),\n title: z.string().describe(\"Page title if available.\").nullable().optional(),\n http_code: z.number().int().describe(\"HTTP status code of the page.\").nullable().optional(),\n subdomain: z.string().describe(\"The subdomain of the queried URL.\").nullable().optional(),\n spam_score: z.number().describe(\"Spam Score (0-100). Higher scores indicate higher spam risk.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain of the queried URL.\").nullable().optional(),\n last_crawled: z.string().describe(\"Date when the page was last crawled by Moz (ISO 8601 format).\").nullable().optional(),\n pages_to_page: z.number().int().describe(\"Total number of pages linking to this page.\").nullable().optional(),\n page_authority: z.number().describe(\"Page Authority score (0-100). Predicts ranking potential of specific page.\").nullable().optional(),\n domain_authority: z.number().describe(\"Domain Authority score (0-100). Predicts ranking potential of entire domain.\").nullable().optional(),\n pages_to_subdomain: z.number().int().describe(\"Total number of pages linking to this subdomain.\").nullable().optional(),\n pages_to_root_domain: z.number().int().describe(\"Total number of pages linking to this root domain.\").nullable().optional(),\n root_domains_to_page: z.number().int().describe(\"Number of unique root domains linking to this page.\").nullable().optional(),\n external_pages_to_page: z.number().int().describe(\"Number of external pages linking to this page.\").nullable().optional(),\n nofollow_pages_to_page: z.number().int().describe(\"Number of nofollow pages linking to this page.\").nullable().optional(),\n root_domains_to_subdomain: z.number().int().describe(\"Number of unique root domains linking to this subdomain.\").nullable().optional(),\n external_pages_to_subdomain: z.number().int().describe(\"Number of external pages linking to this subdomain.\").nullable().optional(),\n nofollow_pages_to_subdomain: z.number().int().describe(\"Number of nofollow pages linking to this subdomain.\").nullable().optional(),\n root_domains_to_root_domain: z.number().int().describe(\"Number of unique root domains linking to this root domain.\").nullable().optional(),\n external_pages_to_root_domain: z.number().int().describe(\"Number of external pages linking to this root domain.\").nullable().optional(),\n nofollow_pages_to_root_domain: z.number().int().describe(\"Number of nofollow pages linking to this root domain.\").nullable().optional(),\n}).describe(\"Site metrics data returned by Moz API.\");\nexport const MozFetchSiteMetricsOutput = z.object({\n id: z.string().describe(\"Request identifier echoed from the request.\").nullable(),\n error: z.record(z.string(), z.unknown()).describe(\"Error object if the request failed. Contains 'code' and 'message' fields.\").nullable().optional(),\n result: MozFetchSiteMetrics_SiteMetricsSchema.nullable().optional(),\n jsonrpc: z.string().describe(\"JSON-RPC version, always '2.0'.\").nullable(),\n}).describe(\"Response model for site metrics fetch action.\");\n\nexport const mozFetchSiteMetrics = action(\"MOZ_FETCH_SITE_METRICS\", {\n slug: \"moz-fetch-site-metrics\",\n name: \"Fetch Site Metrics\",\n description: \"Tool to fetch site metrics from Moz including Domain Authority, Page Authority, Spam Score, and link counts. Use when you need SEO metrics for a domain or specific URL. Returns comprehensive link and authority data.\",\n input: MozFetchSiteMetricsInput,\n output: MozFetchSiteMetricsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,YAAYA,IAAAA,EAAE,OAAO;EACrB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACrG,OAAOA,IAAAA,EAAE,KAAK;GAAC;GAAQ;GAAU;GAAa;EAAa,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"fetch-site-metrics.cjs","names":["z","action"],"sources":["../../src/actions/fetch-site-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozFetchSiteMetricsInput = z.object({\n request_id: z.string().describe(\"Unique identifier for the JSON-RPC request (min 24 characters). Auto-generated if not provided.\").optional(),\n site_query: z.object({\n query: z.string().describe(\"The domain or URL to fetch metrics for (e.g., 'moz.com', 'example.com').\"),\n scope: z.enum([\"page\", \"domain\", \"subdomain\", \"root_domain\"]).default(\"domain\").describe(\"The scope of the query. Use 'domain' for root domain metrics, 'page' for specific URL metrics.\").optional(),\n}).describe(\"Site query parameters containing the target domain/URL and scope.\"),\n}).describe(\"Request model for fetching site metrics via Moz JSON-RPC API.\");\nconst MozFetchSiteMetrics_SiteMetricsSchema = z.object({\n page: z.string().describe(\"The queried page URL.\").nullable().optional(),\n title: z.string().describe(\"Page title if available.\").nullable().optional(),\n http_code: z.number().int().describe(\"HTTP status code of the page.\").nullable().optional(),\n subdomain: z.string().describe(\"The subdomain of the queried URL.\").nullable().optional(),\n spam_score: z.number().describe(\"Spam Score (0-100). Higher scores indicate higher spam risk.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain of the queried URL.\").nullable().optional(),\n last_crawled: z.string().describe(\"Date when the page was last crawled by Moz (ISO 8601 format).\").nullable().optional(),\n pages_to_page: z.number().int().describe(\"Total number of pages linking to this page.\").nullable().optional(),\n page_authority: z.number().describe(\"Page Authority score (0-100). Predicts ranking potential of specific page.\").nullable().optional(),\n domain_authority: z.number().describe(\"Domain Authority score (0-100). Predicts ranking potential of entire domain.\").nullable().optional(),\n pages_to_subdomain: z.number().int().describe(\"Total number of pages linking to this subdomain.\").nullable().optional(),\n pages_to_root_domain: z.number().int().describe(\"Total number of pages linking to this root domain.\").nullable().optional(),\n root_domains_to_page: z.number().int().describe(\"Number of unique root domains linking to this page.\").nullable().optional(),\n external_pages_to_page: z.number().int().describe(\"Number of external pages linking to this page.\").nullable().optional(),\n nofollow_pages_to_page: z.number().int().describe(\"Number of nofollow pages linking to this page.\").nullable().optional(),\n root_domains_to_subdomain: z.number().int().describe(\"Number of unique root domains linking to this subdomain.\").nullable().optional(),\n external_pages_to_subdomain: z.number().int().describe(\"Number of external pages linking to this subdomain.\").nullable().optional(),\n nofollow_pages_to_subdomain: z.number().int().describe(\"Number of nofollow pages linking to this subdomain.\").nullable().optional(),\n root_domains_to_root_domain: z.number().int().describe(\"Number of unique root domains linking to this root domain.\").nullable().optional(),\n external_pages_to_root_domain: z.number().int().describe(\"Number of external pages linking to this root domain.\").nullable().optional(),\n nofollow_pages_to_root_domain: z.number().int().describe(\"Number of nofollow pages linking to this root domain.\").nullable().optional(),\n}).passthrough().describe(\"Site metrics data returned by Moz API.\");\nexport const MozFetchSiteMetricsOutput = z.object({\n id: z.string().describe(\"Request identifier echoed from the request.\").nullable(),\n error: z.record(z.string(), z.unknown()).describe(\"Error object if the request failed. Contains 'code' and 'message' fields.\").nullable().optional(),\n result: MozFetchSiteMetrics_SiteMetricsSchema.nullable().optional(),\n jsonrpc: z.string().describe(\"JSON-RPC version, always '2.0'.\").nullable(),\n}).passthrough().describe(\"Response model for site metrics fetch action.\");\n\nexport const mozFetchSiteMetrics = action(\"MOZ_FETCH_SITE_METRICS\", {\n slug: \"moz-fetch-site-metrics\",\n name: \"Fetch Site Metrics\",\n description: \"Tool to fetch site metrics from Moz including Domain Authority, Page Authority, Spam Score, and link counts. Use when you need SEO metrics for a domain or specific URL. Returns comprehensive link and authority data.\",\n input: MozFetchSiteMetricsInput,\n output: MozFetchSiteMetricsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,YAAYA,IAAAA,EAAE,OAAO;EACrB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACrG,OAAOA,IAAAA,EAAE,KAAK;GAAC;GAAQ;GAAU;GAAa;EAAa,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E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AAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,QAAQ,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -38,9 +38,9 @@ declare const MozFetchSiteMetricsOutput: z.ZodObject<{
|
|
|
38
38
|
root_domains_to_root_domain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
external_pages_to_root_domain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
40
|
nofollow_pages_to_root_domain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
jsonrpc: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const mozFetchSiteMetrics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
site_query: {
|
|
46
46
|
query: string;
|
|
@@ -38,9 +38,9 @@ declare const MozFetchSiteMetricsOutput: z.ZodObject<{
|
|
|
38
38
|
root_domains_to_root_domain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
external_pages_to_root_domain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
40
|
nofollow_pages_to_root_domain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
jsonrpc: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const mozFetchSiteMetrics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
site_query: {
|
|
46
46
|
query: string;
|
|
@@ -35,7 +35,7 @@ const MozFetchSiteMetrics_SiteMetricsSchema = z.object({
|
|
|
35
35
|
root_domains_to_root_domain: z.number().int().describe("Number of unique root domains linking to this root domain.").nullable().optional(),
|
|
36
36
|
external_pages_to_root_domain: z.number().int().describe("Number of external pages linking to this root domain.").nullable().optional(),
|
|
37
37
|
nofollow_pages_to_root_domain: z.number().int().describe("Number of nofollow pages linking to this root domain.").nullable().optional()
|
|
38
|
-
}).describe("Site metrics data returned by Moz API.");
|
|
38
|
+
}).passthrough().describe("Site metrics data returned by Moz API.");
|
|
39
39
|
const mozFetchSiteMetrics = action("MOZ_FETCH_SITE_METRICS", {
|
|
40
40
|
slug: "moz-fetch-site-metrics",
|
|
41
41
|
name: "Fetch Site Metrics",
|
|
@@ -46,7 +46,7 @@ const mozFetchSiteMetrics = action("MOZ_FETCH_SITE_METRICS", {
|
|
|
46
46
|
error: z.record(z.string(), z.unknown()).describe("Error object if the request failed. Contains 'code' and 'message' fields.").nullable().optional(),
|
|
47
47
|
result: MozFetchSiteMetrics_SiteMetricsSchema.nullable().optional(),
|
|
48
48
|
jsonrpc: z.string().describe("JSON-RPC version, always '2.0'.").nullable()
|
|
49
|
-
}).describe("Response model for site metrics fetch action.")
|
|
49
|
+
}).passthrough().describe("Response model for site metrics fetch action.")
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
export { mozFetchSiteMetrics };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-site-metrics.mjs","names":[],"sources":["../../src/actions/fetch-site-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozFetchSiteMetricsInput = z.object({\n request_id: z.string().describe(\"Unique identifier for the JSON-RPC request (min 24 characters). Auto-generated if not provided.\").optional(),\n site_query: z.object({\n query: z.string().describe(\"The domain or URL to fetch metrics for (e.g., 'moz.com', 'example.com').\"),\n scope: z.enum([\"page\", \"domain\", \"subdomain\", \"root_domain\"]).default(\"domain\").describe(\"The scope of the query. Use 'domain' for root domain metrics, 'page' for specific URL metrics.\").optional(),\n}).describe(\"Site query parameters containing the target domain/URL and scope.\"),\n}).describe(\"Request model for fetching site metrics via Moz JSON-RPC API.\");\nconst MozFetchSiteMetrics_SiteMetricsSchema = z.object({\n page: z.string().describe(\"The queried page URL.\").nullable().optional(),\n title: z.string().describe(\"Page title if available.\").nullable().optional(),\n http_code: z.number().int().describe(\"HTTP status code of the page.\").nullable().optional(),\n subdomain: z.string().describe(\"The subdomain of the queried URL.\").nullable().optional(),\n spam_score: z.number().describe(\"Spam Score (0-100). Higher scores indicate higher spam risk.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain of the queried URL.\").nullable().optional(),\n last_crawled: z.string().describe(\"Date when the page was last crawled by Moz (ISO 8601 format).\").nullable().optional(),\n pages_to_page: z.number().int().describe(\"Total number of pages linking to this page.\").nullable().optional(),\n page_authority: z.number().describe(\"Page Authority score (0-100). Predicts ranking potential of specific page.\").nullable().optional(),\n domain_authority: z.number().describe(\"Domain Authority score (0-100). Predicts ranking potential of entire domain.\").nullable().optional(),\n pages_to_subdomain: z.number().int().describe(\"Total number of pages linking to this subdomain.\").nullable().optional(),\n pages_to_root_domain: z.number().int().describe(\"Total number of pages linking to this root domain.\").nullable().optional(),\n root_domains_to_page: z.number().int().describe(\"Number of unique root domains linking to this page.\").nullable().optional(),\n external_pages_to_page: z.number().int().describe(\"Number of external pages linking to this page.\").nullable().optional(),\n nofollow_pages_to_page: z.number().int().describe(\"Number of nofollow pages linking to this page.\").nullable().optional(),\n root_domains_to_subdomain: z.number().int().describe(\"Number of unique root domains linking to this subdomain.\").nullable().optional(),\n external_pages_to_subdomain: z.number().int().describe(\"Number of external pages linking to this subdomain.\").nullable().optional(),\n nofollow_pages_to_subdomain: z.number().int().describe(\"Number of nofollow pages linking to this subdomain.\").nullable().optional(),\n root_domains_to_root_domain: z.number().int().describe(\"Number of unique root domains linking to this root domain.\").nullable().optional(),\n external_pages_to_root_domain: z.number().int().describe(\"Number of external pages linking to this root domain.\").nullable().optional(),\n nofollow_pages_to_root_domain: z.number().int().describe(\"Number of nofollow pages linking to this root domain.\").nullable().optional(),\n}).describe(\"Site metrics data returned by Moz API.\");\nexport const MozFetchSiteMetricsOutput = z.object({\n id: z.string().describe(\"Request identifier echoed from the request.\").nullable(),\n error: z.record(z.string(), z.unknown()).describe(\"Error object if the request failed. Contains 'code' and 'message' fields.\").nullable().optional(),\n result: MozFetchSiteMetrics_SiteMetricsSchema.nullable().optional(),\n jsonrpc: z.string().describe(\"JSON-RPC version, always '2.0'.\").nullable(),\n}).describe(\"Response model for site metrics fetch action.\");\n\nexport const mozFetchSiteMetrics = action(\"MOZ_FETCH_SITE_METRICS\", {\n slug: \"moz-fetch-site-metrics\",\n name: \"Fetch Site Metrics\",\n description: \"Tool to fetch site metrics from Moz including Domain Authority, Page Authority, Spam Score, and link counts. Use when you need SEO metrics for a domain or specific URL. Returns comprehensive link and authority data.\",\n input: MozFetchSiteMetricsInput,\n output: MozFetchSiteMetricsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACrG,OAAO,EAAE,KAAK;GAAC;GAAQ;GAAU;GAAa;EAAa,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtM,CAAC,CAAC,CAAC,SAAS,mEAAm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AAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"fetch-site-metrics.mjs","names":[],"sources":["../../src/actions/fetch-site-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozFetchSiteMetricsInput = z.object({\n request_id: z.string().describe(\"Unique identifier for the JSON-RPC request (min 24 characters). Auto-generated if not provided.\").optional(),\n site_query: z.object({\n query: z.string().describe(\"The domain or URL to fetch metrics for (e.g., 'moz.com', 'example.com').\"),\n scope: z.enum([\"page\", \"domain\", \"subdomain\", \"root_domain\"]).default(\"domain\").describe(\"The scope of the query. Use 'domain' for root domain metrics, 'page' for specific URL metrics.\").optional(),\n}).describe(\"Site query parameters containing the target domain/URL and scope.\"),\n}).describe(\"Request model for fetching site metrics via Moz JSON-RPC API.\");\nconst MozFetchSiteMetrics_SiteMetricsSchema = z.object({\n page: z.string().describe(\"The queried page URL.\").nullable().optional(),\n title: z.string().describe(\"Page title if available.\").nullable().optional(),\n http_code: z.number().int().describe(\"HTTP status code of the page.\").nullable().optional(),\n subdomain: z.string().describe(\"The subdomain of the queried URL.\").nullable().optional(),\n spam_score: z.number().describe(\"Spam Score (0-100). Higher scores indicate higher spam risk.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain of the queried URL.\").nullable().optional(),\n last_crawled: z.string().describe(\"Date when the page was last crawled by Moz (ISO 8601 format).\").nullable().optional(),\n pages_to_page: z.number().int().describe(\"Total number of pages linking to this page.\").nullable().optional(),\n page_authority: z.number().describe(\"Page Authority score (0-100). Predicts ranking potential of specific page.\").nullable().optional(),\n domain_authority: z.number().describe(\"Domain Authority score (0-100). Predicts ranking potential of entire domain.\").nullable().optional(),\n pages_to_subdomain: z.number().int().describe(\"Total number of pages linking to this subdomain.\").nullable().optional(),\n pages_to_root_domain: z.number().int().describe(\"Total number of pages linking to this root domain.\").nullable().optional(),\n root_domains_to_page: z.number().int().describe(\"Number of unique root domains linking to this page.\").nullable().optional(),\n external_pages_to_page: z.number().int().describe(\"Number of external pages linking to this page.\").nullable().optional(),\n nofollow_pages_to_page: z.number().int().describe(\"Number of nofollow pages linking to this page.\").nullable().optional(),\n root_domains_to_subdomain: z.number().int().describe(\"Number of unique root domains linking to this subdomain.\").nullable().optional(),\n external_pages_to_subdomain: z.number().int().describe(\"Number of external pages linking to this subdomain.\").nullable().optional(),\n nofollow_pages_to_subdomain: z.number().int().describe(\"Number of nofollow pages linking to this subdomain.\").nullable().optional(),\n root_domains_to_root_domain: z.number().int().describe(\"Number of unique root domains linking to this root domain.\").nullable().optional(),\n external_pages_to_root_domain: z.number().int().describe(\"Number of external pages linking to this root domain.\").nullable().optional(),\n nofollow_pages_to_root_domain: z.number().int().describe(\"Number of nofollow pages linking to this root domain.\").nullable().optional(),\n}).passthrough().describe(\"Site metrics data returned by Moz API.\");\nexport const MozFetchSiteMetricsOutput = z.object({\n id: z.string().describe(\"Request identifier echoed from the request.\").nullable(),\n error: z.record(z.string(), z.unknown()).describe(\"Error object if the request failed. Contains 'code' and 'message' fields.\").nullable().optional(),\n result: MozFetchSiteMetrics_SiteMetricsSchema.nullable().optional(),\n jsonrpc: z.string().describe(\"JSON-RPC version, always '2.0'.\").nullable(),\n}).passthrough().describe(\"Response model for site metrics fetch action.\");\n\nexport const mozFetchSiteMetrics = action(\"MOZ_FETCH_SITE_METRICS\", {\n slug: \"moz-fetch-site-metrics\",\n name: \"Fetch Site Metrics\",\n description: \"Tool to fetch site metrics from Moz including Domain Authority, Page Authority, Spam Score, and link counts. Use when you need SEO metrics for a domain or specific URL. Returns comprehensive link and authority data.\",\n input: MozFetchSiteMetricsInput,\n output: MozFetchSiteMetricsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACrG,OAAO,EAAE,KAAK;GAAC;GAAQ;GAAU;GAAa;EAAa,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtM,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uB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AE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const MozGetGlobalTopRootDomains_ToTargetSchema = zod.z.object({
|
|
|
10
10
|
deleted_pages: zod.z.number().int().describe("Number of deleted pages that previously linked to this domain.").nullable().optional(),
|
|
11
11
|
nofollow_pages: zod.z.number().int().describe("Number of nofollow pages linking to this domain.").nullable().optional(),
|
|
12
12
|
redirect_pages: zod.z.number().int().describe("Number of redirect pages linking to this domain.").nullable().optional()
|
|
13
|
-
}).describe("Link target metrics for a root domain.");
|
|
13
|
+
}).passthrough().describe("Link target metrics for a root domain.");
|
|
14
14
|
const MozGetGlobalTopRootDomains_RootDomainInfoSchema = zod.z.object({
|
|
15
15
|
to_target: MozGetGlobalTopRootDomains_ToTargetSchema.nullable().optional(),
|
|
16
16
|
spam_score: zod.z.number().describe("Moz Spam Score for this domain. Lower scores indicate less spam.").nullable().optional(),
|
|
@@ -18,11 +18,11 @@ const MozGetGlobalTopRootDomains_RootDomainInfoSchema = zod.z.object({
|
|
|
18
18
|
link_propensity: zod.z.number().describe("Link propensity metric for this domain.").nullable().optional(),
|
|
19
19
|
domain_authority: zod.z.number().describe("Moz Domain Authority score (0-100). Higher scores indicate stronger authority.").nullable().optional(),
|
|
20
20
|
root_domains_to_root_domain: zod.z.number().int().describe("Number of root domains linking to this domain (linking domains count).").nullable().optional()
|
|
21
|
-
}).describe("Information about a single root domain from Moz API.");
|
|
21
|
+
}).passthrough().describe("Information about a single root domain from Moz API.");
|
|
22
22
|
const MozGetGlobalTopRootDomainsOutput = zod.z.object({
|
|
23
23
|
results: zod.z.array(MozGetGlobalTopRootDomains_RootDomainInfoSchema).describe("List of top root domains sorted by descending Domain Authority."),
|
|
24
24
|
next_token: zod.z.string().describe("Token for next page of results, if available. Non-empty when results were limited by the 'limit' parameter.").nullable().optional()
|
|
25
|
-
}).describe("Response model for global top root domains listing.");
|
|
25
|
+
}).passthrough().describe("Response model for global top root domains listing.");
|
|
26
26
|
const mozGetGlobalTopRootDomains = require_action.action("MOZ_GET_GLOBAL_TOP_ROOT_DOMAINS", {
|
|
27
27
|
slug: "moz-get-global-top-root-domains",
|
|
28
28
|
name: "Get Global Top Root Domains",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-global-top-root-domains.cjs","names":["z","action"],"sources":["../../src/actions/get-global-top-root-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGetGlobalTopRootDomainsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-500). Controls how many top domains are included in the response.\").optional(),\n next_token: z.string().describe(\"Cursor for fetching the next set of results from a previous request. If set, return the next page of results.\").optional(),\n}).describe(\"Request model for fetching global top root domains.\");\nconst MozGetGlobalTopRootDomains_ToTargetSchema = z.object({\n pages: z.number().int().describe(\"Total number of pages linking to this domain.\").nullable().optional(),\n deleted_pages: z.number().int().describe(\"Number of deleted pages that previously linked to this domain.\").nullable().optional(),\n nofollow_pages: z.number().int().describe(\"Number of nofollow pages linking to this domain.\").nullable().optional(),\n redirect_pages: z.number().int().describe(\"Number of redirect pages linking to this domain.\").nullable().optional(),\n}).describe(\"Link target metrics for a root domain.\");\nconst MozGetGlobalTopRootDomains_RootDomainInfoSchema = z.object({\n to_target: MozGetGlobalTopRootDomains_ToTargetSchema.nullable().optional(),\n spam_score: z.number().describe(\"Moz Spam Score for this domain. Lower scores indicate less spam.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain name.\").nullable().optional(),\n link_propensity: z.number().describe(\"Link propensity metric for this domain.\").nullable().optional(),\n domain_authority: z.number().describe(\"Moz Domain Authority score (0-100). Higher scores indicate stronger authority.\").nullable().optional(),\n root_domains_to_root_domain: z.number().int().describe(\"Number of root domains linking to this domain (linking domains count).\").nullable().optional(),\n}).describe(\"Information about a single root domain from Moz API.\");\nexport const MozGetGlobalTopRootDomainsOutput = z.object({\n results: z.array(MozGetGlobalTopRootDomains_RootDomainInfoSchema).describe(\"List of top root domains sorted by descending Domain Authority.\"),\n next_token: z.string().describe(\"Token for next page of results, if available. Non-empty when results were limited by the 'limit' parameter.\").nullable().optional(),\n}).describe(\"Response model for global top root domains listing.\");\n\nexport const mozGetGlobalTopRootDomains = action(\"MOZ_GET_GLOBAL_TOP_ROOT_DOMAINS\", {\n slug: \"moz-get-global-top-root-domains\",\n name: \"Get Global Top Root Domains\",\n description: \"Tool to get the top 500 root domains across the entire web index sorted by Domain Authority. Returns the highest authority domains globally with Domain Authority, Spam Score, and linking domains count. Use when you need to identify the most authoritative domains on the web.\",\n input: MozGetGlobalTopRootDomainsInput,\n output: MozGetGlobalTopRootDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-global-top-root-domains.cjs","names":["z","action"],"sources":["../../src/actions/get-global-top-root-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGetGlobalTopRootDomainsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-500). Controls how many top domains are included in the response.\").optional(),\n next_token: z.string().describe(\"Cursor for fetching the next set of results from a previous request. If set, return the next page of results.\").optional(),\n}).describe(\"Request model for fetching global top root domains.\");\nconst MozGetGlobalTopRootDomains_ToTargetSchema = z.object({\n pages: z.number().int().describe(\"Total number of pages linking to this domain.\").nullable().optional(),\n deleted_pages: z.number().int().describe(\"Number of deleted pages that previously linked to this domain.\").nullable().optional(),\n nofollow_pages: z.number().int().describe(\"Number of nofollow pages linking to this domain.\").nullable().optional(),\n redirect_pages: z.number().int().describe(\"Number of redirect pages linking to this domain.\").nullable().optional(),\n}).passthrough().describe(\"Link target metrics for a root domain.\");\nconst MozGetGlobalTopRootDomains_RootDomainInfoSchema = z.object({\n to_target: MozGetGlobalTopRootDomains_ToTargetSchema.nullable().optional(),\n spam_score: z.number().describe(\"Moz Spam Score for this domain. Lower scores indicate less spam.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain name.\").nullable().optional(),\n link_propensity: z.number().describe(\"Link propensity metric for this domain.\").nullable().optional(),\n domain_authority: z.number().describe(\"Moz Domain Authority score (0-100). Higher scores indicate stronger authority.\").nullable().optional(),\n root_domains_to_root_domain: z.number().int().describe(\"Number of root domains linking to this domain (linking domains count).\").nullable().optional(),\n}).passthrough().describe(\"Information about a single root domain from Moz API.\");\nexport const MozGetGlobalTopRootDomainsOutput = z.object({\n results: z.array(MozGetGlobalTopRootDomains_RootDomainInfoSchema).describe(\"List of top root domains sorted by descending Domain Authority.\"),\n next_token: z.string().describe(\"Token for next page of results, if available. Non-empty when results were limited by the 'limit' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for global top root domains listing.\");\n\nexport const mozGetGlobalTopRootDomains = action(\"MOZ_GET_GLOBAL_TOP_ROOT_DOMAINS\", {\n slug: \"moz-get-global-top-root-domains\",\n name: \"Get Global Top Root Domains\",\n description: \"Tool to get the top 500 root domains across the entire web index sorted by Domain Authority. Returns the highest authority domains globally with Domain Authority, Spam Score, and linking domains count. Use when you need to identify the most authoritative domains on the web.\",\n input: MozGetGlobalTopRootDomainsInput,\n output: MozGetGlobalTopRootDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,WAAW,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iEAAiE;CAC5I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,15 +12,15 @@ declare const MozGetGlobalTopRootDomainsOutput: z.ZodObject<{
|
|
|
12
12
|
deleted_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
nofollow_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
redirect_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
spam_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
root_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
link_propensity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
domain_authority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
root_domains_to_root_domain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const mozGetGlobalTopRootDomains: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
limit?: number | undefined;
|
|
26
26
|
next_token?: string | undefined;
|
|
@@ -12,15 +12,15 @@ declare const MozGetGlobalTopRootDomainsOutput: z.ZodObject<{
|
|
|
12
12
|
deleted_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
nofollow_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
redirect_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
spam_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
root_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
link_propensity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
domain_authority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
root_domains_to_root_domain: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const mozGetGlobalTopRootDomains: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
limit?: number | undefined;
|
|
26
26
|
next_token?: string | undefined;
|
|
@@ -10,7 +10,7 @@ const MozGetGlobalTopRootDomains_ToTargetSchema = z.object({
|
|
|
10
10
|
deleted_pages: z.number().int().describe("Number of deleted pages that previously linked to this domain.").nullable().optional(),
|
|
11
11
|
nofollow_pages: z.number().int().describe("Number of nofollow pages linking to this domain.").nullable().optional(),
|
|
12
12
|
redirect_pages: z.number().int().describe("Number of redirect pages linking to this domain.").nullable().optional()
|
|
13
|
-
}).describe("Link target metrics for a root domain.");
|
|
13
|
+
}).passthrough().describe("Link target metrics for a root domain.");
|
|
14
14
|
const MozGetGlobalTopRootDomains_RootDomainInfoSchema = z.object({
|
|
15
15
|
to_target: MozGetGlobalTopRootDomains_ToTargetSchema.nullable().optional(),
|
|
16
16
|
spam_score: z.number().describe("Moz Spam Score for this domain. Lower scores indicate less spam.").nullable().optional(),
|
|
@@ -18,7 +18,7 @@ const MozGetGlobalTopRootDomains_RootDomainInfoSchema = z.object({
|
|
|
18
18
|
link_propensity: z.number().describe("Link propensity metric for this domain.").nullable().optional(),
|
|
19
19
|
domain_authority: z.number().describe("Moz Domain Authority score (0-100). Higher scores indicate stronger authority.").nullable().optional(),
|
|
20
20
|
root_domains_to_root_domain: z.number().int().describe("Number of root domains linking to this domain (linking domains count).").nullable().optional()
|
|
21
|
-
}).describe("Information about a single root domain from Moz API.");
|
|
21
|
+
}).passthrough().describe("Information about a single root domain from Moz API.");
|
|
22
22
|
const mozGetGlobalTopRootDomains = action("MOZ_GET_GLOBAL_TOP_ROOT_DOMAINS", {
|
|
23
23
|
slug: "moz-get-global-top-root-domains",
|
|
24
24
|
name: "Get Global Top Root Domains",
|
|
@@ -27,7 +27,7 @@ const mozGetGlobalTopRootDomains = action("MOZ_GET_GLOBAL_TOP_ROOT_DOMAINS", {
|
|
|
27
27
|
output: z.object({
|
|
28
28
|
results: z.array(MozGetGlobalTopRootDomains_RootDomainInfoSchema).describe("List of top root domains sorted by descending Domain Authority."),
|
|
29
29
|
next_token: z.string().describe("Token for next page of results, if available. Non-empty when results were limited by the 'limit' parameter.").nullable().optional()
|
|
30
|
-
}).describe("Response model for global top root domains listing.")
|
|
30
|
+
}).passthrough().describe("Response model for global top root domains listing.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { mozGetGlobalTopRootDomains };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-global-top-root-domains.mjs","names":[],"sources":["../../src/actions/get-global-top-root-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGetGlobalTopRootDomainsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-500). Controls how many top domains are included in the response.\").optional(),\n next_token: z.string().describe(\"Cursor for fetching the next set of results from a previous request. If set, return the next page of results.\").optional(),\n}).describe(\"Request model for fetching global top root domains.\");\nconst MozGetGlobalTopRootDomains_ToTargetSchema = z.object({\n pages: z.number().int().describe(\"Total number of pages linking to this domain.\").nullable().optional(),\n deleted_pages: z.number().int().describe(\"Number of deleted pages that previously linked to this domain.\").nullable().optional(),\n nofollow_pages: z.number().int().describe(\"Number of nofollow pages linking to this domain.\").nullable().optional(),\n redirect_pages: z.number().int().describe(\"Number of redirect pages linking to this domain.\").nullable().optional(),\n}).describe(\"Link target metrics for a root domain.\");\nconst MozGetGlobalTopRootDomains_RootDomainInfoSchema = z.object({\n to_target: MozGetGlobalTopRootDomains_ToTargetSchema.nullable().optional(),\n spam_score: z.number().describe(\"Moz Spam Score for this domain. Lower scores indicate less spam.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain name.\").nullable().optional(),\n link_propensity: z.number().describe(\"Link propensity metric for this domain.\").nullable().optional(),\n domain_authority: z.number().describe(\"Moz Domain Authority score (0-100). Higher scores indicate stronger authority.\").nullable().optional(),\n root_domains_to_root_domain: z.number().int().describe(\"Number of root domains linking to this domain (linking domains count).\").nullable().optional(),\n}).describe(\"Information about a single root domain from Moz API.\");\nexport const MozGetGlobalTopRootDomainsOutput = z.object({\n results: z.array(MozGetGlobalTopRootDomains_RootDomainInfoSchema).describe(\"List of top root domains sorted by descending Domain Authority.\"),\n next_token: z.string().describe(\"Token for next page of results, if available. Non-empty when results were limited by the 'limit' parameter.\").nullable().optional(),\n}).describe(\"Response model for global top root domains listing.\");\n\nexport const mozGetGlobalTopRootDomains = action(\"MOZ_GET_GLOBAL_TOP_ROOT_DOMAINS\", {\n slug: \"moz-get-global-top-root-domains\",\n name: \"Get Global Top Root Domains\",\n description: \"Tool to get the top 500 root domains across the entire web index sorted by Domain Authority. Returns the highest authority domains globally with Domain Authority, Spam Score, and linking domains count. Use when you need to identify the most authoritative domains on the web.\",\n input: MozGetGlobalTopRootDomainsInput,\n output: MozGetGlobalTopRootDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-global-top-root-domains.mjs","names":[],"sources":["../../src/actions/get-global-top-root-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGetGlobalTopRootDomainsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-500). Controls how many top domains are included in the response.\").optional(),\n next_token: z.string().describe(\"Cursor for fetching the next set of results from a previous request. If set, return the next page of results.\").optional(),\n}).describe(\"Request model for fetching global top root domains.\");\nconst MozGetGlobalTopRootDomains_ToTargetSchema = z.object({\n pages: z.number().int().describe(\"Total number of pages linking to this domain.\").nullable().optional(),\n deleted_pages: z.number().int().describe(\"Number of deleted pages that previously linked to this domain.\").nullable().optional(),\n nofollow_pages: z.number().int().describe(\"Number of nofollow pages linking to this domain.\").nullable().optional(),\n redirect_pages: z.number().int().describe(\"Number of redirect pages linking to this domain.\").nullable().optional(),\n}).passthrough().describe(\"Link target metrics for a root domain.\");\nconst MozGetGlobalTopRootDomains_RootDomainInfoSchema = z.object({\n to_target: MozGetGlobalTopRootDomains_ToTargetSchema.nullable().optional(),\n spam_score: z.number().describe(\"Moz Spam Score for this domain. Lower scores indicate less spam.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain name.\").nullable().optional(),\n link_propensity: z.number().describe(\"Link propensity metric for this domain.\").nullable().optional(),\n domain_authority: z.number().describe(\"Moz Domain Authority score (0-100). Higher scores indicate stronger authority.\").nullable().optional(),\n root_domains_to_root_domain: z.number().int().describe(\"Number of root domains linking to this domain (linking domains count).\").nullable().optional(),\n}).passthrough().describe(\"Information about a single root domain from Moz API.\");\nexport const MozGetGlobalTopRootDomainsOutput = z.object({\n results: z.array(MozGetGlobalTopRootDomains_RootDomainInfoSchema).describe(\"List of top root domains sorted by descending Domain Authority.\"),\n next_token: z.string().describe(\"Token for next page of results, if available. Non-empty when results were limited by the 'limit' parameter.\").nullable().optional(),\n}).passthrough().describe(\"Response model for global top root domains listing.\");\n\nexport const mozGetGlobalTopRootDomains = action(\"MOZ_GET_GLOBAL_TOP_ROOT_DOMAINS\", {\n slug: \"moz-get-global-top-root-domains\",\n name: \"Get Global Top Root Domains\",\n description: \"Tool to get the top 500 root domains across the entire web index sorted by Domain Authority. Returns the highest authority domains globally with Domain Authority, Spam Score, and linking domains count. Use when you need to identify the most authoritative domains on the web.\",\n input: MozGetGlobalTopRootDomainsInput,\n output: MozGetGlobalTopRootDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,WAAW,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,SAAS,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iEAAiE;EAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const MozGetUsageDataInput = zod.z.object({
|
|
|
5
5
|
end: zod.z.string().describe("End of time period in Unix time (seconds since 1970-01-01 UTC). Default is current time.").optional(),
|
|
6
6
|
start: zod.z.string().describe("Start of time period in Unix time (seconds since 1970-01-01 UTC). Default is start of current month.").optional()
|
|
7
7
|
}).describe("Request model for fetching API usage data from Moz.");
|
|
8
|
-
const MozGetUsageDataOutput = zod.z.object({ rows_consumed: zod.z.number().describe("Number of rows consumed in the specified time period").nullable() }).describe("Response model for API usage data.");
|
|
8
|
+
const MozGetUsageDataOutput = zod.z.object({ rows_consumed: zod.z.number().describe("Number of rows consumed in the specified time period").nullable() }).passthrough().describe("Response model for API usage data.");
|
|
9
9
|
const mozGetUsageData = require_action.action("MOZ_GET_USAGE_DATA", {
|
|
10
10
|
slug: "moz-get-usage-data",
|
|
11
11
|
name: "Get API Usage Data",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage-data.cjs","names":["z","action"],"sources":["../../src/actions/get-usage-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGetUsageDataInput = z.object({\n end: z.string().describe(\"End of time period in Unix time (seconds since 1970-01-01 UTC). Default is current time.\").optional(),\n start: z.string().describe(\"Start of time period in Unix time (seconds since 1970-01-01 UTC). Default is start of current month.\").optional(),\n}).describe(\"Request model for fetching API usage data from Moz.\");\nexport const MozGetUsageDataOutput = z.object({\n rows_consumed: z.number().describe(\"Number of rows consumed in the specified time period\").nullable(),\n}).describe(\"Response model for API usage data.\");\n\nexport const mozGetUsageData = action(\"MOZ_GET_USAGE_DATA\", {\n slug: \"moz-get-usage-data\",\n name: \"Get API Usage Data\",\n description: \"Tool to get API usage data including the number of rows consumed. Use when you need to track API usage for a specific time range or the current billing period.\",\n input: MozGetUsageDataInput,\n output: MozGetUsageDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"get-usage-data.cjs","names":["z","action"],"sources":["../../src/actions/get-usage-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGetUsageDataInput = z.object({\n end: z.string().describe(\"End of time period in Unix time (seconds since 1970-01-01 UTC). Default is current time.\").optional(),\n start: z.string().describe(\"Start of time period in Unix time (seconds since 1970-01-01 UTC). Default is start of current month.\").optional(),\n}).describe(\"Request model for fetching API usage data from Moz.\");\nexport const MozGetUsageDataOutput = z.object({\n rows_consumed: z.number().describe(\"Number of rows consumed in the specified time period\").nullable(),\n}).passthrough().describe(\"Response model for API usage data.\");\n\nexport const mozGetUsageData = action(\"MOZ_GET_USAGE_DATA\", {\n slug: \"moz-get-usage-data\",\n name: \"Get API Usage Data\",\n description: \"Tool to get API usage data including the number of rows consumed. Use when you need to track API usage for a specific time range or the current billing period.\",\n input: MozGetUsageDataInput,\n output: MozGetUsageDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const MozGetUsageDataInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const MozGetUsageDataOutput: z.ZodObject<{
|
|
9
9
|
rows_consumed: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const mozGetUsageData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
end?: string | undefined;
|
|
13
13
|
start?: string | undefined;
|
|
@@ -7,7 +7,7 @@ declare const MozGetUsageDataInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const MozGetUsageDataOutput: z.ZodObject<{
|
|
9
9
|
rows_consumed: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const mozGetUsageData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
end?: string | undefined;
|
|
13
13
|
start?: string | undefined;
|
|
@@ -8,7 +8,7 @@ const mozGetUsageData = action("MOZ_GET_USAGE_DATA", {
|
|
|
8
8
|
end: z.string().describe("End of time period in Unix time (seconds since 1970-01-01 UTC). Default is current time.").optional(),
|
|
9
9
|
start: z.string().describe("Start of time period in Unix time (seconds since 1970-01-01 UTC). Default is start of current month.").optional()
|
|
10
10
|
}).describe("Request model for fetching API usage data from Moz."),
|
|
11
|
-
output: z.object({ rows_consumed: z.number().describe("Number of rows consumed in the specified time period").nullable() }).describe("Response model for API usage data.")
|
|
11
|
+
output: z.object({ rows_consumed: z.number().describe("Number of rows consumed in the specified time period").nullable() }).passthrough().describe("Response model for API usage data.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { mozGetUsageData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage-data.mjs","names":[],"sources":["../../src/actions/get-usage-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGetUsageDataInput = z.object({\n end: z.string().describe(\"End of time period in Unix time (seconds since 1970-01-01 UTC). Default is current time.\").optional(),\n start: z.string().describe(\"Start of time period in Unix time (seconds since 1970-01-01 UTC). Default is start of current month.\").optional(),\n}).describe(\"Request model for fetching API usage data from Moz.\");\nexport const MozGetUsageDataOutput = z.object({\n rows_consumed: z.number().describe(\"Number of rows consumed in the specified time period\").nullable(),\n}).describe(\"Response model for API usage data.\");\n\nexport const mozGetUsageData = action(\"MOZ_GET_USAGE_DATA\", {\n slug: \"moz-get-usage-data\",\n name: \"Get API Usage Data\",\n description: \"Tool to get API usage data including the number of rows consumed. Use when you need to track API usage for a specific time range or the current billing period.\",\n input: MozGetUsageDataInput,\n output: MozGetUsageDataOutput,\n});\n"],"mappings":";;AAYA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATmC,EAAE,OAAO,EAC5C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-usage-data.mjs","names":[],"sources":["../../src/actions/get-usage-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGetUsageDataInput = z.object({\n end: z.string().describe(\"End of time period in Unix time (seconds since 1970-01-01 UTC). Default is current time.\").optional(),\n start: z.string().describe(\"Start of time period in Unix time (seconds since 1970-01-01 UTC). Default is start of current month.\").optional(),\n}).describe(\"Request model for fetching API usage data from Moz.\");\nexport const MozGetUsageDataOutput = z.object({\n rows_consumed: z.number().describe(\"Number of rows consumed in the specified time period\").nullable(),\n}).passthrough().describe(\"Response model for API usage data.\");\n\nexport const mozGetUsageData = action(\"MOZ_GET_USAGE_DATA\", {\n slug: \"moz-get-usage-data\",\n name: \"Get API Usage Data\",\n description: \"Tool to get API usage data including the number of rows consumed. Use when you need to track API usage for a specific time range or the current billing period.\",\n input: MozGetUsageDataInput,\n output: MozGetUsageDataOutput,\n});\n"],"mappings":";;AAYA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATmC,EAAE,OAAO,EAC5C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -19,11 +19,11 @@ const MozGlobalTopPages_PageInfoSchema = zod.z.object({
|
|
|
19
19
|
root_domains_to_page: zod.z.number().int().describe("Count of root domains linking to this page.").nullable().optional(),
|
|
20
20
|
external_pages_to_page: zod.z.number().int().describe("Count of external pages linking to this page.").nullable().optional(),
|
|
21
21
|
nofollow_pages_to_page: zod.z.number().int().describe("Count of nofollow pages linking to this page.").nullable().optional()
|
|
22
|
-
}).describe("Information about a single page from Moz API.");
|
|
22
|
+
}).passthrough().describe("Information about a single page from Moz API.");
|
|
23
23
|
const MozGlobalTopPagesOutput = zod.z.object({
|
|
24
24
|
results: zod.z.array(MozGlobalTopPages_PageInfoSchema).describe("List of top pages sorted by page authority."),
|
|
25
25
|
next_token: zod.z.string().describe("Token for next page of results, if available.").nullable().optional()
|
|
26
|
-
}).describe("Response model for global top pages listing.");
|
|
26
|
+
}).passthrough().describe("Response model for global top pages listing.");
|
|
27
27
|
const mozGlobalTopPages = require_action.action("MOZ_GLOBAL_TOP_PAGES", {
|
|
28
28
|
slug: "moz-global-top-pages",
|
|
29
29
|
name: "Get Global Top Pages",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-top-pages.cjs","names":["z","action"],"sources":["../../src/actions/global-top-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGlobalTopPagesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-50). Defaults to server default when omitted.\").optional(),\n next_token: z.string().describe(\"Cursor for fetching the next page of results.\").optional(),\n}).describe(\"Request model for fetching global top pages.\");\nconst MozGlobalTopPages_PageInfoSchema = z.object({\n page: z.string().describe(\"The page URL/identifier.\").nullable(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n http_code: z.number().int().describe(\"HTTP status code of the page.\").nullable().optional(),\n subdomain: z.string().describe(\"The subdomain of the page.\").nullable().optional(),\n spam_score: z.number().describe(\"Moz Spam Score for the page.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain of the page.\").nullable().optional(),\n last_crawled: z.string().describe(\"Date the page was last crawled.\").nullable().optional(),\n pages_to_page: z.number().int().describe(\"Count of pages linking to this page.\").nullable().optional(),\n page_authority: z.number().describe(\"Moz Page Authority score (1-100).\").nullable().optional(),\n domain_authority: z.number().describe(\"Moz Domain Authority score (1-100) of the page's domain.\").nullable().optional(),\n root_domains_to_page: z.number().int().describe(\"Count of root domains linking to this page.\").nullable().optional(),\n external_pages_to_page: z.number().int().describe(\"Count of external pages linking to this page.\").nullable().optional(),\n nofollow_pages_to_page: z.number().int().describe(\"Count of nofollow pages linking to this page.\").nullable().optional(),\n}).describe(\"Information about a single page from Moz API.\");\nexport const MozGlobalTopPagesOutput = z.object({\n results: z.array(MozGlobalTopPages_PageInfoSchema).describe(\"List of top pages sorted by page authority.\"),\n next_token: z.string().describe(\"Token for next page of results, if available.\").nullable().optional(),\n}).describe(\"Response model for global top pages listing.\");\n\nexport const mozGlobalTopPages = action(\"MOZ_GLOBAL_TOP_PAGES\", {\n slug: \"moz-global-top-pages\",\n name: \"Get Global Top Pages\",\n description: \"Tool to fetch global top pages from Moz. Use when you need a paginated list of highest authority pages.\",\n input: MozGlobalTopPagesInput,\n output: MozGlobalTopPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"global-top-pages.cjs","names":["z","action"],"sources":["../../src/actions/global-top-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGlobalTopPagesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-50). Defaults to server default when omitted.\").optional(),\n next_token: z.string().describe(\"Cursor for fetching the next page of results.\").optional(),\n}).describe(\"Request model for fetching global top pages.\");\nconst MozGlobalTopPages_PageInfoSchema = z.object({\n page: z.string().describe(\"The page URL/identifier.\").nullable(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n http_code: z.number().int().describe(\"HTTP status code of the page.\").nullable().optional(),\n subdomain: z.string().describe(\"The subdomain of the page.\").nullable().optional(),\n spam_score: z.number().describe(\"Moz Spam Score for the page.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain of the page.\").nullable().optional(),\n last_crawled: z.string().describe(\"Date the page was last crawled.\").nullable().optional(),\n pages_to_page: z.number().int().describe(\"Count of pages linking to this page.\").nullable().optional(),\n page_authority: z.number().describe(\"Moz Page Authority score (1-100).\").nullable().optional(),\n domain_authority: z.number().describe(\"Moz Domain Authority score (1-100) of the page's domain.\").nullable().optional(),\n root_domains_to_page: z.number().int().describe(\"Count of root domains linking to this page.\").nullable().optional(),\n external_pages_to_page: z.number().int().describe(\"Count of external pages linking to this page.\").nullable().optional(),\n nofollow_pages_to_page: z.number().int().describe(\"Count of nofollow pages linking to this page.\").nullable().optional(),\n}).passthrough().describe(\"Information about a single page from Moz API.\");\nexport const MozGlobalTopPagesOutput = z.object({\n results: z.array(MozGlobalTopPages_PageInfoSchema).describe(\"List of top pages sorted by page authority.\"),\n next_token: z.string().describe(\"Token for next page of results, if available.\").nullable().optional(),\n}).passthrough().describe(\"Response model for global top pages listing.\");\n\nexport const mozGlobalTopPages = action(\"MOZ_GLOBAL_TOP_PAGES\", {\n slug: \"moz-global-top-pages\",\n name: \"Get Global Top Pages\",\n description: \"Tool to fetch global top pages from Moz. Use when you need a paginated list of highest authority pages.\",\n input: MozGlobalTopPagesInput,\n output: MozGlobalTopPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAA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YA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,9 +20,9 @@ declare const MozGlobalTopPagesOutput: z.ZodObject<{
|
|
|
20
20
|
root_domains_to_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
external_pages_to_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
nofollow_pages_to_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const mozGlobalTopPages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
limit?: number | undefined;
|
|
28
28
|
next_token?: string | undefined;
|
|
@@ -20,9 +20,9 @@ declare const MozGlobalTopPagesOutput: z.ZodObject<{
|
|
|
20
20
|
root_domains_to_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
external_pages_to_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
nofollow_pages_to_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const mozGlobalTopPages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
limit?: number | undefined;
|
|
28
28
|
next_token?: string | undefined;
|
|
@@ -19,7 +19,7 @@ const MozGlobalTopPages_PageInfoSchema = z.object({
|
|
|
19
19
|
root_domains_to_page: z.number().int().describe("Count of root domains linking to this page.").nullable().optional(),
|
|
20
20
|
external_pages_to_page: z.number().int().describe("Count of external pages linking to this page.").nullable().optional(),
|
|
21
21
|
nofollow_pages_to_page: z.number().int().describe("Count of nofollow pages linking to this page.").nullable().optional()
|
|
22
|
-
}).describe("Information about a single page from Moz API.");
|
|
22
|
+
}).passthrough().describe("Information about a single page from Moz API.");
|
|
23
23
|
const mozGlobalTopPages = action("MOZ_GLOBAL_TOP_PAGES", {
|
|
24
24
|
slug: "moz-global-top-pages",
|
|
25
25
|
name: "Get Global Top Pages",
|
|
@@ -28,7 +28,7 @@ const mozGlobalTopPages = action("MOZ_GLOBAL_TOP_PAGES", {
|
|
|
28
28
|
output: z.object({
|
|
29
29
|
results: z.array(MozGlobalTopPages_PageInfoSchema).describe("List of top pages sorted by page authority."),
|
|
30
30
|
next_token: z.string().describe("Token for next page of results, if available.").nullable().optional()
|
|
31
|
-
}).describe("Response model for global top pages listing.")
|
|
31
|
+
}).passthrough().describe("Response model for global top pages listing.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { mozGlobalTopPages };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-top-pages.mjs","names":[],"sources":["../../src/actions/global-top-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGlobalTopPagesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-50). Defaults to server default when omitted.\").optional(),\n next_token: z.string().describe(\"Cursor for fetching the next page of results.\").optional(),\n}).describe(\"Request model for fetching global top pages.\");\nconst MozGlobalTopPages_PageInfoSchema = z.object({\n page: z.string().describe(\"The page URL/identifier.\").nullable(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n http_code: z.number().int().describe(\"HTTP status code of the page.\").nullable().optional(),\n subdomain: z.string().describe(\"The subdomain of the page.\").nullable().optional(),\n spam_score: z.number().describe(\"Moz Spam Score for the page.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain of the page.\").nullable().optional(),\n last_crawled: z.string().describe(\"Date the page was last crawled.\").nullable().optional(),\n pages_to_page: z.number().int().describe(\"Count of pages linking to this page.\").nullable().optional(),\n page_authority: z.number().describe(\"Moz Page Authority score (1-100).\").nullable().optional(),\n domain_authority: z.number().describe(\"Moz Domain Authority score (1-100) of the page's domain.\").nullable().optional(),\n root_domains_to_page: z.number().int().describe(\"Count of root domains linking to this page.\").nullable().optional(),\n external_pages_to_page: z.number().int().describe(\"Count of external pages linking to this page.\").nullable().optional(),\n nofollow_pages_to_page: z.number().int().describe(\"Count of nofollow pages linking to this page.\").nullable().optional(),\n}).describe(\"Information about a single page from Moz API.\");\nexport const MozGlobalTopPagesOutput = z.object({\n results: z.array(MozGlobalTopPages_PageInfoSchema).describe(\"List of top pages sorted by page authority.\"),\n next_token: z.string().describe(\"Token for next page of results, if available.\").nullable().optional(),\n}).describe(\"Response model for global top pages listing.\");\n\nexport const mozGlobalTopPages = action(\"MOZ_GLOBAL_TOP_PAGES\", {\n slug: \"moz-global-top-pages\",\n name: \"Get Global Top Pages\",\n description: \"Tool to fetch global top pages from Moz. Use when you need a paginated list of highest authority pages.\",\n input: MozGlobalTopPagesInput,\n output: MozGlobalTopPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;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["../../src/actions/global-top-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozGlobalTopPagesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (1-50). Defaults to server default when omitted.\").optional(),\n next_token: z.string().describe(\"Cursor for fetching the next page of results.\").optional(),\n}).describe(\"Request model for fetching global top pages.\");\nconst MozGlobalTopPages_PageInfoSchema = z.object({\n page: z.string().describe(\"The page URL/identifier.\").nullable(),\n title: z.string().describe(\"The title of the page.\").nullable().optional(),\n http_code: z.number().int().describe(\"HTTP status code of the page.\").nullable().optional(),\n subdomain: z.string().describe(\"The subdomain of the page.\").nullable().optional(),\n spam_score: z.number().describe(\"Moz Spam Score for the page.\").nullable().optional(),\n root_domain: z.string().describe(\"The root domain of the page.\").nullable().optional(),\n last_crawled: z.string().describe(\"Date the page was last crawled.\").nullable().optional(),\n pages_to_page: z.number().int().describe(\"Count of pages linking to this page.\").nullable().optional(),\n page_authority: z.number().describe(\"Moz Page Authority score (1-100).\").nullable().optional(),\n domain_authority: z.number().describe(\"Moz Domain Authority score (1-100) of the page's domain.\").nullable().optional(),\n root_domains_to_page: z.number().int().describe(\"Count of root domains linking to this page.\").nullable().optional(),\n external_pages_to_page: z.number().int().describe(\"Count of external pages linking to this page.\").nullable().optional(),\n nofollow_pages_to_page: z.number().int().describe(\"Count of nofollow pages linking to this page.\").nullable().optional(),\n}).passthrough().describe(\"Information about a single page from Moz API.\");\nexport const MozGlobalTopPagesOutput = z.object({\n results: z.array(MozGlobalTopPages_PageInfoSchema).describe(\"List of top pages sorted by page authority.\"),\n next_token: z.string().describe(\"Token for next page of results, if available.\").nullable().optional(),\n}).passthrough().describe(\"Response model for global top pages listing.\");\n\nexport const mozGlobalTopPages = action(\"MOZ_GLOBAL_TOP_PAGES\", {\n slug: \"moz-global-top-pages\",\n name: \"Get Global Top Pages\",\n description: \"Tool to fetch global top pages from Moz. Use when you need a paginated list of highest authority pages.\",\n input: MozGlobalTopPagesInput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AC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAMzE,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,6CAA6C;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const MozIndexMetadataInput = zod.z.object({}).describe("Empty request model for
|
|
|
5
5
|
const MozIndexMetadataOutput = zod.z.object({
|
|
6
6
|
index_id: zod.z.string().describe("Opaque identifier that changes when the index data updates.").nullable(),
|
|
7
7
|
spam_score_update_days: zod.z.array(zod.z.string()).describe("Dates (YYYY-MM-DD) of historical Spam Score model updates.").nullable().optional()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const mozIndexMetadata = require_action.action("MOZ_INDEX_METADATA", {
|
|
10
10
|
slug: "moz-index-metadata",
|
|
11
11
|
name: "Get Index Metadata",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-metadata.cjs","names":["z","action"],"sources":["../../src/actions/index-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozIndexMetadataInput = z.object({}).describe(\"Empty request model for the MOZ_INDEX_METADATA action.\\nThis endpoint accepts only an empty JSON object.\");\nexport const MozIndexMetadataOutput = z.object({\n index_id: z.string().describe(\"Opaque identifier that changes when the index data updates.\").nullable(),\n spam_score_update_days: z.array(z.string()).describe(\"Dates (YYYY-MM-DD) of historical Spam Score model updates.\").nullable().optional(),\n});\n\nexport const mozIndexMetadata = action(\"MOZ_INDEX_METADATA\", {\n slug: \"moz-index-metadata\",\n name: \"Get Index Metadata\",\n description: \"Tool to fetch link index metadata from Moz. Use when you need the current index ID (which changes when the index updates) and the dates of Spam Score model updates. Use after authenticating with Moz API.\",\n input: MozIndexMetadataInput,\n output: MozIndexMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACrK,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC;
|
|
1
|
+
{"version":3,"file":"index-metadata.cjs","names":["z","action"],"sources":["../../src/actions/index-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MozIndexMetadataInput = z.object({}).describe(\"Empty request model for the MOZ_INDEX_METADATA action.\\nThis endpoint accepts only an empty JSON object.\");\nexport const MozIndexMetadataOutput = z.object({\n index_id: z.string().describe(\"Opaque identifier that changes when the index data updates.\").nullable(),\n spam_score_update_days: z.array(z.string()).describe(\"Dates (YYYY-MM-DD) of historical Spam Score model updates.\").nullable().optional(),\n}).passthrough();\n\nexport const mozIndexMetadata = action(\"MOZ_INDEX_METADATA\", {\n slug: \"moz-index-metadata\",\n name: \"Get Index Metadata\",\n description: \"Tool to fetch link index metadata from Moz. Use when you need the current index ID (which changes when the index updates) and the dates of Spam Score model updates. Use after authenticating with Moz API.\",\n input: MozIndexMetadataInput,\n output: MozIndexMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACrK,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const MozIndexMetadataInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const MozIndexMetadataOutput: z.ZodObject<{
|
|
6
6
|
index_id: z.ZodNullable<z.ZodString>;
|
|
7
7
|
spam_score_update_days: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const mozIndexMetadata: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { mozIndexMetadata };
|