@keystrokehq/semrush 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/account-units-balance.cjs +1 -1
- package/dist/actions/account-units-balance.cjs.map +1 -1
- package/dist/actions/account-units-balance.d.cts +1 -1
- package/dist/actions/account-units-balance.d.mts +1 -1
- package/dist/actions/account-units-balance.mjs +1 -1
- package/dist/actions/account-units-balance.mjs.map +1 -1
- package/dist/actions/ads-copies.cjs +1 -1
- package/dist/actions/ads-copies.cjs.map +1 -1
- package/dist/actions/ads-copies.d.cts +1 -1
- package/dist/actions/ads-copies.d.mts +1 -1
- package/dist/actions/ads-copies.mjs +1 -1
- package/dist/actions/ads-copies.mjs.map +1 -1
- package/dist/actions/anchors.cjs +1 -1
- package/dist/actions/anchors.cjs.map +1 -1
- package/dist/actions/anchors.d.cts +10 -10
- package/dist/actions/anchors.d.mts +10 -10
- package/dist/actions/anchors.mjs +1 -1
- package/dist/actions/anchors.mjs.map +1 -1
- package/dist/actions/authority-score-profile.cjs +1 -1
- package/dist/actions/authority-score-profile.cjs.map +1 -1
- package/dist/actions/authority-score-profile.d.cts +1 -1
- package/dist/actions/authority-score-profile.d.mts +1 -1
- package/dist/actions/authority-score-profile.mjs +1 -1
- package/dist/actions/authority-score-profile.mjs.map +1 -1
- package/dist/actions/backlinks-overview.cjs +1 -1
- package/dist/actions/backlinks-overview.cjs.map +1 -1
- package/dist/actions/backlinks-overview.d.cts +8 -8
- package/dist/actions/backlinks-overview.d.mts +8 -8
- package/dist/actions/backlinks-overview.mjs +1 -1
- package/dist/actions/backlinks-overview.mjs.map +1 -1
- package/dist/actions/backlinks.cjs +1 -1
- package/dist/actions/backlinks.cjs.map +1 -1
- package/dist/actions/backlinks.d.cts +9 -9
- package/dist/actions/backlinks.d.mts +9 -9
- package/dist/actions/backlinks.mjs +1 -1
- package/dist/actions/backlinks.mjs.map +1 -1
- package/dist/actions/batch-comparison.cjs +1 -1
- package/dist/actions/batch-comparison.cjs.map +1 -1
- package/dist/actions/batch-comparison.d.cts +4 -4
- package/dist/actions/batch-comparison.d.mts +4 -4
- package/dist/actions/batch-comparison.mjs +1 -1
- package/dist/actions/batch-comparison.mjs.map +1 -1
- package/dist/actions/batch-keyword-overview.cjs +1 -1
- package/dist/actions/batch-keyword-overview.cjs.map +1 -1
- package/dist/actions/batch-keyword-overview.d.cts +1 -1
- package/dist/actions/batch-keyword-overview.d.mts +1 -1
- package/dist/actions/batch-keyword-overview.mjs +1 -1
- package/dist/actions/batch-keyword-overview.mjs.map +1 -1
- package/dist/actions/broad-match-keyword.cjs +1 -1
- package/dist/actions/broad-match-keyword.cjs.map +1 -1
- package/dist/actions/broad-match-keyword.d.cts +1 -1
- package/dist/actions/broad-match-keyword.d.mts +1 -1
- package/dist/actions/broad-match-keyword.mjs +1 -1
- package/dist/actions/broad-match-keyword.mjs.map +1 -1
- package/dist/actions/categories-profile.cjs +1 -1
- package/dist/actions/categories-profile.cjs.map +1 -1
- package/dist/actions/categories-profile.d.cts +1 -1
- package/dist/actions/categories-profile.d.mts +1 -1
- package/dist/actions/categories-profile.mjs +1 -1
- package/dist/actions/categories-profile.mjs.map +1 -1
- package/dist/actions/categories.cjs +1 -1
- package/dist/actions/categories.cjs.map +1 -1
- package/dist/actions/categories.d.cts +1 -1
- package/dist/actions/categories.d.mts +1 -1
- package/dist/actions/categories.mjs +1 -1
- package/dist/actions/categories.mjs.map +1 -1
- package/dist/actions/competitors-in-organic-search.cjs +1 -1
- package/dist/actions/competitors-in-organic-search.cjs.map +1 -1
- package/dist/actions/competitors-in-organic-search.d.cts +4 -4
- package/dist/actions/competitors-in-organic-search.d.mts +4 -4
- package/dist/actions/competitors-in-organic-search.mjs +1 -1
- package/dist/actions/competitors-in-organic-search.mjs.map +1 -1
- package/dist/actions/competitors-in-paid-search.cjs +1 -1
- package/dist/actions/competitors-in-paid-search.cjs.map +1 -1
- package/dist/actions/competitors-in-paid-search.d.cts +1 -1
- package/dist/actions/competitors-in-paid-search.d.mts +1 -1
- package/dist/actions/competitors-in-paid-search.mjs +1 -1
- package/dist/actions/competitors-in-paid-search.mjs.map +1 -1
- package/dist/actions/competitors.cjs +1 -1
- package/dist/actions/competitors.cjs.map +1 -1
- package/dist/actions/competitors.d.cts +4 -4
- package/dist/actions/competitors.d.mts +4 -4
- package/dist/actions/competitors.mjs +1 -1
- package/dist/actions/competitors.mjs.map +1 -1
- package/dist/actions/domain-ad-history.cjs +1 -1
- package/dist/actions/domain-ad-history.cjs.map +1 -1
- package/dist/actions/domain-ad-history.d.cts +5 -5
- package/dist/actions/domain-ad-history.d.mts +5 -5
- package/dist/actions/domain-ad-history.mjs +1 -1
- package/dist/actions/domain-ad-history.mjs.map +1 -1
- package/dist/actions/domain-organic-pages.cjs +1 -1
- package/dist/actions/domain-organic-pages.cjs.map +1 -1
- package/dist/actions/domain-organic-pages.d.cts +9 -9
- package/dist/actions/domain-organic-pages.d.mts +9 -9
- package/dist/actions/domain-organic-pages.mjs +1 -1
- package/dist/actions/domain-organic-pages.mjs.map +1 -1
- package/dist/actions/domain-organic-search-keywords.cjs +1 -1
- package/dist/actions/domain-organic-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-organic-search-keywords.d.cts +14 -14
- package/dist/actions/domain-organic-search-keywords.d.mts +14 -14
- package/dist/actions/domain-organic-search-keywords.mjs +1 -1
- package/dist/actions/domain-organic-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-organic-subdomains.cjs +1 -1
- package/dist/actions/domain-organic-subdomains.cjs.map +1 -1
- package/dist/actions/domain-organic-subdomains.d.cts +3 -3
- package/dist/actions/domain-organic-subdomains.d.mts +3 -3
- package/dist/actions/domain-organic-subdomains.mjs +1 -1
- package/dist/actions/domain-organic-subdomains.mjs.map +1 -1
- package/dist/actions/domain-paid-search-keywords.cjs +1 -1
- package/dist/actions/domain-paid-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-paid-search-keywords.d.cts +10 -10
- package/dist/actions/domain-paid-search-keywords.d.mts +10 -10
- package/dist/actions/domain-paid-search-keywords.mjs +1 -1
- package/dist/actions/domain-paid-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-pla-search-keywords.cjs +1 -1
- package/dist/actions/domain-pla-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-pla-search-keywords.d.cts +1 -1
- package/dist/actions/domain-pla-search-keywords.d.mts +1 -1
- package/dist/actions/domain-pla-search-keywords.mjs +1 -1
- package/dist/actions/domain-pla-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-vs-domain.cjs +1 -1
- package/dist/actions/domain-vs-domain.cjs.map +1 -1
- package/dist/actions/domain-vs-domain.d.cts +1 -1
- package/dist/actions/domain-vs-domain.d.mts +1 -1
- package/dist/actions/domain-vs-domain.mjs +1 -1
- package/dist/actions/domain-vs-domain.mjs.map +1 -1
- package/dist/actions/historical-data.cjs +1 -1
- package/dist/actions/historical-data.cjs.map +1 -1
- package/dist/actions/historical-data.d.cts +3 -3
- package/dist/actions/historical-data.d.mts +3 -3
- package/dist/actions/historical-data.mjs +1 -1
- package/dist/actions/historical-data.mjs.map +1 -1
- package/dist/actions/indexed-pages.cjs +1 -1
- package/dist/actions/indexed-pages.cjs.map +1 -1
- package/dist/actions/indexed-pages.d.cts +8 -8
- package/dist/actions/indexed-pages.d.mts +8 -8
- package/dist/actions/indexed-pages.mjs +1 -1
- package/dist/actions/indexed-pages.mjs.map +1 -1
- package/dist/actions/keyword-difficulty.cjs +1 -1
- package/dist/actions/keyword-difficulty.cjs.map +1 -1
- package/dist/actions/keyword-difficulty.d.cts +1 -1
- package/dist/actions/keyword-difficulty.d.mts +1 -1
- package/dist/actions/keyword-difficulty.mjs +1 -1
- package/dist/actions/keyword-difficulty.mjs.map +1 -1
- package/dist/actions/keyword-overview-all-databases.cjs +1 -1
- package/dist/actions/keyword-overview-all-databases.cjs.map +1 -1
- package/dist/actions/keyword-overview-all-databases.d.cts +1 -1
- package/dist/actions/keyword-overview-all-databases.d.mts +1 -1
- package/dist/actions/keyword-overview-all-databases.mjs +1 -1
- package/dist/actions/keyword-overview-all-databases.mjs.map +1 -1
- package/dist/actions/keyword-overview-one-database.cjs +1 -1
- package/dist/actions/keyword-overview-one-database.cjs.map +1 -1
- package/dist/actions/keyword-overview-one-database.d.cts +1 -1
- package/dist/actions/keyword-overview-one-database.d.mts +1 -1
- package/dist/actions/keyword-overview-one-database.mjs +1 -1
- package/dist/actions/keyword-overview-one-database.mjs.map +1 -1
- package/dist/actions/keywords-ads-history.cjs +1 -1
- package/dist/actions/keywords-ads-history.cjs.map +1 -1
- package/dist/actions/keywords-ads-history.d.cts +4 -4
- package/dist/actions/keywords-ads-history.d.mts +4 -4
- package/dist/actions/keywords-ads-history.mjs +1 -1
- package/dist/actions/keywords-ads-history.mjs.map +1 -1
- package/dist/actions/organic-results.cjs +1 -1
- package/dist/actions/organic-results.cjs.map +1 -1
- package/dist/actions/organic-results.d.cts +3 -3
- package/dist/actions/organic-results.d.mts +3 -3
- package/dist/actions/organic-results.mjs +1 -1
- package/dist/actions/organic-results.mjs.map +1 -1
- package/dist/actions/paid-results.cjs +1 -1
- package/dist/actions/paid-results.cjs.map +1 -1
- package/dist/actions/paid-results.d.cts +1 -1
- package/dist/actions/paid-results.d.mts +1 -1
- package/dist/actions/paid-results.mjs +1 -1
- package/dist/actions/paid-results.mjs.map +1 -1
- package/dist/actions/phrase-questions.cjs +1 -1
- package/dist/actions/phrase-questions.cjs.map +1 -1
- package/dist/actions/phrase-questions.d.cts +1 -1
- package/dist/actions/phrase-questions.d.mts +1 -1
- package/dist/actions/phrase-questions.mjs +1 -1
- package/dist/actions/phrase-questions.mjs.map +1 -1
- package/dist/actions/pla-competitors.cjs +1 -1
- package/dist/actions/pla-competitors.cjs.map +1 -1
- package/dist/actions/pla-competitors.d.cts +1 -1
- package/dist/actions/pla-competitors.d.mts +1 -1
- package/dist/actions/pla-competitors.mjs +1 -1
- package/dist/actions/pla-competitors.mjs.map +1 -1
- package/dist/actions/pla-copies.cjs +1 -1
- package/dist/actions/pla-copies.cjs.map +1 -1
- package/dist/actions/pla-copies.d.cts +1 -1
- package/dist/actions/pla-copies.d.mts +1 -1
- package/dist/actions/pla-copies.mjs +1 -1
- package/dist/actions/pla-copies.mjs.map +1 -1
- package/dist/actions/referring-domains-by-country.cjs +1 -1
- package/dist/actions/referring-domains-by-country.cjs.map +1 -1
- package/dist/actions/referring-domains-by-country.d.cts +3 -3
- package/dist/actions/referring-domains-by-country.d.mts +3 -3
- package/dist/actions/referring-domains-by-country.mjs +1 -1
- package/dist/actions/referring-domains-by-country.mjs.map +1 -1
- package/dist/actions/referring-domains.cjs +1 -1
- package/dist/actions/referring-domains.cjs.map +1 -1
- package/dist/actions/referring-domains.d.cts +10 -10
- package/dist/actions/referring-domains.d.mts +10 -10
- package/dist/actions/referring-domains.mjs +1 -1
- package/dist/actions/referring-domains.mjs.map +1 -1
- package/dist/actions/referring-i-ps.cjs +1 -1
- package/dist/actions/referring-i-ps.cjs.map +1 -1
- package/dist/actions/referring-i-ps.d.cts +11 -11
- package/dist/actions/referring-i-ps.d.mts +11 -11
- package/dist/actions/referring-i-ps.mjs +1 -1
- package/dist/actions/referring-i-ps.mjs.map +1 -1
- package/dist/actions/related-keywords.cjs +1 -1
- package/dist/actions/related-keywords.cjs.map +1 -1
- package/dist/actions/related-keywords.d.cts +1 -1
- package/dist/actions/related-keywords.d.mts +1 -1
- package/dist/actions/related-keywords.mjs +1 -1
- package/dist/actions/related-keywords.mjs.map +1 -1
- package/dist/actions/tld-distribution.cjs +1 -1
- package/dist/actions/tld-distribution.cjs.map +1 -1
- package/dist/actions/tld-distribution.d.cts +4 -4
- package/dist/actions/tld-distribution.d.mts +4 -4
- package/dist/actions/tld-distribution.mjs +1 -1
- package/dist/actions/tld-distribution.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/account-units-balance.ts
|
|
4
4
|
const SemrushAccountUnitsBalanceInput = zod.z.object({}).describe("Request schema for checking Semrush API units balance.");
|
|
5
|
-
const SemrushAccountUnitsBalanceOutput = zod.z.object({ units_remaining: zod.z.number().int().describe("The number of remaining Semrush Standard API units for the authenticated account.").nullable() }).describe("Response schema for Semrush API units balance.");
|
|
5
|
+
const SemrushAccountUnitsBalanceOutput = zod.z.object({ units_remaining: zod.z.number().int().describe("The number of remaining Semrush Standard API units for the authenticated account.").nullable() }).passthrough().describe("Response schema for Semrush API units balance.");
|
|
6
6
|
const semrushAccountUnitsBalance = require_action.action("SEMRUSH_ACCOUNT_UNITS_BALANCE", {
|
|
7
7
|
slug: "semrush-account-units-balance",
|
|
8
8
|
name: "Check Semrush account units balance",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-units-balance.cjs","names":["z","action"],"sources":["../../src/actions/account-units-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAccountUnitsBalanceInput = z.object({}).describe(\"Request schema for checking Semrush API units balance.\");\nexport const SemrushAccountUnitsBalanceOutput = z.object({\n units_remaining: z.number().int().describe(\"The number of remaining Semrush Standard API units for the authenticated account.\").nullable(),\n}).describe(\"Response schema for Semrush API units balance.\");\n\nexport const semrushAccountUnitsBalance = action(\"SEMRUSH_ACCOUNT_UNITS_BALANCE\", {\n slug: \"semrush-account-units-balance\",\n name: \"Check Semrush account units balance\",\n description: \"Tool to fetch the remaining Semrush Standard API units for the authenticated account. Use this before launching large batches of Semrush report requests to preflight and fail fast if units are exhausted or below a required threshold.\",\n input: SemrushAccountUnitsBalanceInput,\n output: SemrushAccountUnitsBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAC7H,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"account-units-balance.cjs","names":["z","action"],"sources":["../../src/actions/account-units-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAccountUnitsBalanceInput = z.object({}).describe(\"Request schema for checking Semrush API units balance.\");\nexport const SemrushAccountUnitsBalanceOutput = z.object({\n units_remaining: z.number().int().describe(\"The number of remaining Semrush Standard API units for the authenticated account.\").nullable(),\n}).passthrough().describe(\"Response schema for Semrush API units balance.\");\n\nexport const semrushAccountUnitsBalance = action(\"SEMRUSH_ACCOUNT_UNITS_BALANCE\", {\n slug: \"semrush-account-units-balance\",\n name: \"Check Semrush account units balance\",\n description: \"Tool to fetch the remaining Semrush Standard API units for the authenticated account. Use this before launching large batches of Semrush report requests to preflight and fail fast if units are exhausted or below a required threshold.\",\n input: SemrushAccountUnitsBalanceInput,\n output: SemrushAccountUnitsBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAC7H,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushAccountUnitsBalanceInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SemrushAccountUnitsBalanceOutput: z.ZodObject<{
|
|
6
6
|
units_remaining: z.ZodNullable<z.ZodNumber>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const semrushAccountUnitsBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { semrushAccountUnitsBalance };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushAccountUnitsBalanceInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SemrushAccountUnitsBalanceOutput: z.ZodObject<{
|
|
6
6
|
units_remaining: z.ZodNullable<z.ZodNumber>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const semrushAccountUnitsBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { semrushAccountUnitsBalance };
|
|
@@ -5,7 +5,7 @@ const semrushAccountUnitsBalance = action("SEMRUSH_ACCOUNT_UNITS_BALANCE", {
|
|
|
5
5
|
name: "Check Semrush account units balance",
|
|
6
6
|
description: "Tool to fetch the remaining Semrush Standard API units for the authenticated account. Use this before launching large batches of Semrush report requests to preflight and fail fast if units are exhausted or below a required threshold.",
|
|
7
7
|
input: z.object({}).describe("Request schema for checking Semrush API units balance."),
|
|
8
|
-
output: z.object({ units_remaining: z.number().int().describe("The number of remaining Semrush Standard API units for the authenticated account.").nullable() }).describe("Response schema for Semrush API units balance.")
|
|
8
|
+
output: z.object({ units_remaining: z.number().int().describe("The number of remaining Semrush Standard API units for the authenticated account.").nullable() }).passthrough().describe("Response schema for Semrush API units balance.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { semrushAccountUnitsBalance };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-units-balance.mjs","names":[],"sources":["../../src/actions/account-units-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAccountUnitsBalanceInput = z.object({}).describe(\"Request schema for checking Semrush API units balance.\");\nexport const SemrushAccountUnitsBalanceOutput = z.object({\n units_remaining: z.number().int().describe(\"The number of remaining Semrush Standard API units for the authenticated account.\").nullable(),\n}).describe(\"Response schema for Semrush API units balance.\");\n\nexport const semrushAccountUnitsBalance = action(\"SEMRUSH_ACCOUNT_UNITS_BALANCE\", {\n slug: \"semrush-account-units-balance\",\n name: \"Check Semrush account units balance\",\n description: \"Tool to fetch the remaining Semrush Standard API units for the authenticated account. Use this before launching large batches of Semrush report requests to preflight and fail fast if units are exhausted or below a required threshold.\",\n input: SemrushAccountUnitsBalanceInput,\n output: SemrushAccountUnitsBalanceOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"account-units-balance.mjs","names":[],"sources":["../../src/actions/account-units-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAccountUnitsBalanceInput = z.object({}).describe(\"Request schema for checking Semrush API units balance.\");\nexport const SemrushAccountUnitsBalanceOutput = z.object({\n units_remaining: z.number().int().describe(\"The number of remaining Semrush Standard API units for the authenticated account.\").nullable(),\n}).passthrough().describe(\"Response schema for Semrush API units balance.\");\n\nexport const semrushAccountUnitsBalance = action(\"SEMRUSH_ACCOUNT_UNITS_BALANCE\", {\n slug: \"semrush-account-units-balance\",\n name: \"Check Semrush account units balance\",\n description: \"Tool to fetch the remaining Semrush Standard API units for the authenticated account. Use this before launching large batches of Semrush report requests to preflight and fail fast if units are exhausted or below a required threshold.\",\n input: SemrushAccountUnitsBalanceInput,\n output: SemrushAccountUnitsBalanceOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAS5D;CACP,QAT8C,EAAE,OAAO,EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -181,7 +181,7 @@ const SemrushAdsCopiesInput = zod.z.object({
|
|
|
181
181
|
"Ts"
|
|
182
182
|
]).describe("Columns to include. If omitted, all are returned. Available: Ph (Keyword phrase), Un (Unique ad identifier), Tt (Ad Title), Ds (Ad Description), Vu (Visible URL), Ur (Destination URL), Pc (Ad Position), Ts (Timestamp last seen).").optional()
|
|
183
183
|
}).describe("Defines parameters for retrieving unique ad copies for a domain.");
|
|
184
|
-
const SemrushAdsCopiesOutput = zod.z.object({ data: zod.z.string().describe("String containing the ad copies report, typically CSV-like.").nullable() }).describe("Contains the ad copies report as a string.");
|
|
184
|
+
const SemrushAdsCopiesOutput = zod.z.object({ data: zod.z.string().describe("String containing the ad copies report, typically CSV-like.").nullable() }).passthrough().describe("Contains the ad copies report as a string.");
|
|
185
185
|
const semrushAdsCopies = require_action.action("SEMRUSH_ADS_COPIES", {
|
|
186
186
|
slug: "semrush-ads-copies",
|
|
187
187
|
name: "Get ad copies",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ads-copies.cjs","names":["z","action"],"sources":["../../src/actions/ads-copies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAdsCopiesInput = z.object({\n domain: z.string().describe(\"Domain name to investigate for ad copies.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database code.\"),\n display_sort: z.enum([\"pc_asc\", \"pc_desc\"]).default(\"pc_desc\").describe(\"Sort order for results by ad position.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of ad copies to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set 1 for decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set 1 to wrap report columns in double quotation marks (\\\"), 0 for unescaped.\").optional(),\n display_filter: z.array(z.enum([\"Tt\", \"Ds\", \"Vu\"])).default([]).describe(\"Ad components to filter on. Supported: Tt (Ad Title), Ds (Ad Description), Vu (Visible URL).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial ad copies to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Un\", \"Tt\", \"Ds\", \"Vu\", \"Ur\", \"Pc\", \"Ts\"])).default([\"Ph\",\"Un\",\"Tt\",\"Ds\",\"Vu\",\"Ur\",\"Pc\",\"Ts\"]).describe(\"Columns to include. If omitted, all are returned. Available: Ph (Keyword phrase), Un (Unique ad identifier), Tt (Ad Title), Ds (Ad Description), Vu (Visible URL), Ur (Destination URL), Pc (Ad Position), Ts (Timestamp last seen).\").optional(),\n}).describe(\"Defines parameters for retrieving unique ad copies for a domain.\");\nexport const SemrushAdsCopiesOutput = z.object({\n data: z.string().describe(\"String containing the ad copies report, typically CSV-like.\").nullable(),\n}).describe(\"Contains the ad copies report as a string.\");\n\nexport const semrushAdsCopies = action(\"SEMRUSH_ADS_COPIES\", {\n slug: \"semrush-ads-copies\",\n name: \"Get ad copies\",\n description: \"Retrieves unique ad copies Semrush has observed for a specified domain from a regional database, detailing ads seen in Google's paid search results. Results are a sampled subset, not a complete picture of the domain's advertising. Response is returned as a CSV-like string; parse columns (e.g., Tt, Ds) using the pipe or semicolon delimiter.\",\n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
|
+
{"version":3,"file":"ads-copies.cjs","names":["z","action"],"sources":["../../src/actions/ads-copies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAdsCopiesInput = z.object({\n domain: z.string().describe(\"Domain name to investigate for ad copies.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database code.\"),\n display_sort: z.enum([\"pc_asc\", \"pc_desc\"]).default(\"pc_desc\").describe(\"Sort order for results by ad position.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of ad copies to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set 1 for decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set 1 to wrap report columns in double quotation marks (\\\"), 0 for unescaped.\").optional(),\n display_filter: z.array(z.enum([\"Tt\", \"Ds\", \"Vu\"])).default([]).describe(\"Ad components to filter on. Supported: Tt (Ad Title), Ds (Ad Description), Vu (Visible URL).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial ad copies to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Un\", \"Tt\", \"Ds\", \"Vu\", \"Ur\", \"Pc\", \"Ts\"])).default([\"Ph\",\"Un\",\"Tt\",\"Ds\",\"Vu\",\"Ur\",\"Pc\",\"Ts\"]).describe(\"Columns to include. If omitted, all are returned. Available: Ph (Keyword phrase), Un (Unique ad identifier), Tt (Ad Title), Ds (Ad Description), Vu (Visible URL), Ur (Destination URL), Pc (Ad Position), Ts (Timestamp last seen).\").optional(),\n}).describe(\"Defines parameters for retrieving unique ad copies for a domain.\");\nexport const SemrushAdsCopiesOutput = z.object({\n data: z.string().describe(\"String containing the ad copies report, typically CSV-like.\").nullable(),\n}).passthrough().describe(\"Contains the ad copies report as a string.\");\n\nexport const semrushAdsCopies = action(\"SEMRUSH_ADS_COPIES\", {\n slug: \"semrush-ads-copies\",\n name: \"Get ad copies\",\n description: \"Retrieves unique ad copies Semrush has observed for a specified domain from a regional database, detailing ads seen in Google's paid search results. Results are a sampled subset, not a complete picture of the domain's advertising. Response is returned as a CSV-like string; parse columns (e.g., Tt, Ds) using the pipe or semic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AC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -177,7 +177,7 @@ declare const SemrushAdsCopiesInput: z.ZodObject<{
|
|
|
177
177
|
}, z.core.$strip>;
|
|
178
178
|
declare const SemrushAdsCopiesOutput: z.ZodObject<{
|
|
179
179
|
data: z.ZodNullable<z.ZodString>;
|
|
180
|
-
}, z.core.$
|
|
180
|
+
}, z.core.$loose>;
|
|
181
181
|
declare const semrushAdsCopies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
182
182
|
domain: string;
|
|
183
183
|
database: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
@@ -177,7 +177,7 @@ declare const SemrushAdsCopiesInput: z.ZodObject<{
|
|
|
177
177
|
}, z.core.$strip>;
|
|
178
178
|
declare const SemrushAdsCopiesOutput: z.ZodObject<{
|
|
179
179
|
data: z.ZodNullable<z.ZodString>;
|
|
180
|
-
}, z.core.$
|
|
180
|
+
}, z.core.$loose>;
|
|
181
181
|
declare const semrushAdsCopies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
182
182
|
domain: string;
|
|
183
183
|
database: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
@@ -184,7 +184,7 @@ const semrushAdsCopies = action("SEMRUSH_ADS_COPIES", {
|
|
|
184
184
|
"Ts"
|
|
185
185
|
]).describe("Columns to include. If omitted, all are returned. Available: Ph (Keyword phrase), Un (Unique ad identifier), Tt (Ad Title), Ds (Ad Description), Vu (Visible URL), Ur (Destination URL), Pc (Ad Position), Ts (Timestamp last seen).").optional()
|
|
186
186
|
}).describe("Defines parameters for retrieving unique ad copies for a domain."),
|
|
187
|
-
output: z.object({ data: z.string().describe("String containing the ad copies report, typically CSV-like.").nullable() }).describe("Contains the ad copies report as a string.")
|
|
187
|
+
output: z.object({ data: z.string().describe("String containing the ad copies report, typically CSV-like.").nullable() }).passthrough().describe("Contains the ad copies report as a string.")
|
|
188
188
|
});
|
|
189
189
|
//#endregion
|
|
190
190
|
export { semrushAdsCopies };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ads-copies.mjs","names":[],"sources":["../../src/actions/ads-copies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAdsCopiesInput = z.object({\n domain: z.string().describe(\"Domain name to investigate for ad copies.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database code.\"),\n display_sort: z.enum([\"pc_asc\", \"pc_desc\"]).default(\"pc_desc\").describe(\"Sort order for results by ad position.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of ad copies to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set 1 for decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set 1 to wrap report columns in double quotation marks (\\\"), 0 for unescaped.\").optional(),\n display_filter: z.array(z.enum([\"Tt\", \"Ds\", \"Vu\"])).default([]).describe(\"Ad components to filter on. Supported: Tt (Ad Title), Ds (Ad Description), Vu (Visible URL).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial ad copies to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Un\", \"Tt\", \"Ds\", \"Vu\", \"Ur\", \"Pc\", \"Ts\"])).default([\"Ph\",\"Un\",\"Tt\",\"Ds\",\"Vu\",\"Ur\",\"Pc\",\"Ts\"]).describe(\"Columns to include. If omitted, all are returned. Available: Ph (Keyword phrase), Un (Unique ad identifier), Tt (Ad Title), Ds (Ad Description), Vu (Visible URL), Ur (Destination URL), Pc (Ad Position), Ts (Timestamp last seen).\").optional(),\n}).describe(\"Defines parameters for retrieving unique ad copies for a domain.\");\nexport const SemrushAdsCopiesOutput = z.object({\n data: z.string().describe(\"String containing the ad copies report, typically CSV-like.\").nullable(),\n}).describe(\"Contains the ad copies report as a string.\");\n\nexport const semrushAdsCopies = action(\"SEMRUSH_ADS_COPIES\", {\n slug: \"semrush-ads-copies\",\n name: \"Get ad copies\",\n description: \"Retrieves unique ad copies Semrush has observed for a specified domain from a regional database, detailing ads seen in Google's paid search results. Results are a sampled subset, not a complete picture of the domain's advertising. Response is returned as a CSV-like string; parse columns (e.g., Tt, Ds) using the pipe or semicolon delimiter.\",\n input: SemrushAdsCopiesInput,\n output: SemrushAdsCopiesOutput,\n});\n"],"mappings":";;AAmBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GA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AAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAClL,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACjY,CAAC,CAAC,CAAC,SAAS,kEASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"ads-copies.mjs","names":[],"sources":["../../src/actions/ads-copies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAdsCopiesInput = z.object({\n domain: z.string().describe(\"Domain name to investigate for ad copies.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database code.\"),\n display_sort: z.enum([\"pc_asc\", \"pc_desc\"]).default(\"pc_desc\").describe(\"Sort order for results by ad position.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of ad copies to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set 1 for decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set 1 to wrap report columns in double quotation marks (\\\"), 0 for unescaped.\").optional(),\n display_filter: z.array(z.enum([\"Tt\", \"Ds\", \"Vu\"])).default([]).describe(\"Ad components to filter on. Supported: Tt (Ad Title), Ds (Ad Description), Vu (Visible URL).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial ad copies to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Un\", \"Tt\", \"Ds\", \"Vu\", \"Ur\", \"Pc\", \"Ts\"])).default([\"Ph\",\"Un\",\"Tt\",\"Ds\",\"Vu\",\"Ur\",\"Pc\",\"Ts\"]).describe(\"Columns to include. If omitted, all are returned. Available: Ph (Keyword phrase), Un (Unique ad identifier), Tt (Ad Title), Ds (Ad Description), Vu (Visible URL), Ur (Destination URL), Pc (Ad Position), Ts (Timestamp last seen).\").optional(),\n}).describe(\"Defines parameters for retrieving unique ad copies for a domain.\");\nexport const SemrushAdsCopiesOutput = z.object({\n data: z.string().describe(\"String containing the ad copies report, typically CSV-like.\").nullable(),\n}).passthrough().describe(\"Contains the ad copies report as a string.\");\n\nexport const semrushAdsCopies = action(\"SEMRUSH_ADS_COPIES\", {\n slug: \"semrush-ads-copies\",\n name: \"Get ad copies\",\n description: \"Retrieves unique ad copies Semrush has observed for a specified domain from a regional database, detailing ads seen in Google's paid search results. Results are a sampled subset, not a complete picture of the domain's advertising. Response is returned as a CSV-like string; parse columns (e.g., Tt, Ds) using the pipe or semicolon delimiter.\",\n input: SemrushAdsCopiesInput,\n output: SemrushAdsCopiesOutput,\n});\n"],"mappings":";;AAmBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM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EAClL,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACjY,CAAC,CAAC,CAAC,SAAS,kEASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
package/dist/actions/anchors.cjs
CHANGED
|
@@ -34,7 +34,7 @@ const SemrushAnchorsInput = zod.z.object({
|
|
|
34
34
|
"last_seen"
|
|
35
35
|
]).describe("Columns to include in the report; defaults to all available columns if omitted.").optional()
|
|
36
36
|
}).describe("Parameters for requesting an anchor text report.");
|
|
37
|
-
const SemrushAnchorsOutput = zod.z.object({ data: zod.z.string().describe("Anchor text report data as a CSV-formatted string.").nullable() }).describe("Anchor text report data from the API.");
|
|
37
|
+
const SemrushAnchorsOutput = zod.z.object({ data: zod.z.string().describe("Anchor text report data as a CSV-formatted string.").nullable() }).passthrough().describe("Anchor text report data from the API.");
|
|
38
38
|
const semrushAnchors = require_action.action("SEMRUSH_ANCHORS", {
|
|
39
39
|
slug: "semrush-anchors",
|
|
40
40
|
name: "Get anchor texts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchors.cjs","names":["z","action"],"sources":["../../src/actions/anchors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAnchorsInput = z.object({\n target: z.string().describe(\"Domain, root domain, or URL to analyze for its backlink anchor texts.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.\"),\n display_sort: z.enum([\"domains_num_asc\", \"domains_num_desc\", \"backlinks_num_asc\", \"backlinks_num_desc\", \"first_seen_asc\", \"first_seen_desc\", \"last_seen_asc\", \"last_seen_desc\"]).default(\"domains_num_desc\").describe(\"Sorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of anchor text entries to return.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of anchor text entries to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"anchor\", \"domains_num\", \"backlinks_num\", \"first_seen\", \"last_seen\"])).default([\"anchor\",\"domains_num\",\"backlinks_num\",\"first_seen\",\"last_seen\"]).describe(\"Columns to include in the report; defaults to all available columns if omitted.\").optional(),\n}).describe(\"Parameters for requesting an anchor text report.\");\nexport const SemrushAnchorsOutput = z.object({\n data: z.string().describe(\"Anchor text report data as a CSV-formatted string.\").nullable(),\n}).describe(\"Anchor text report data from the API.\");\n\nexport const semrushAnchors = action(\"SEMRUSH_ANCHORS\", {\n slug: \"semrush-anchors\",\n name: \"Get anchor texts\",\n description: \"Use this action to get a CSV report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or URL.\",\n input: SemrushAnchorsInput,\n output: SemrushAnchorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAClI,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAqB;EAAsB;EAAkB;EAAmB;EAAiB;CAAgB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAClU,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAe;EAAiB;EAAc;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAc;EAAgB;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACzR,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"anchors.cjs","names":["z","action"],"sources":["../../src/actions/anchors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAnchorsInput = z.object({\n target: z.string().describe(\"Domain, root domain, or URL to analyze for its backlink anchor texts.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.\"),\n display_sort: z.enum([\"domains_num_asc\", \"domains_num_desc\", \"backlinks_num_asc\", \"backlinks_num_desc\", \"first_seen_asc\", \"first_seen_desc\", \"last_seen_asc\", \"last_seen_desc\"]).default(\"domains_num_desc\").describe(\"Sorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of anchor text entries to return.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of anchor text entries to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"anchor\", \"domains_num\", \"backlinks_num\", \"first_seen\", \"last_seen\"])).default([\"anchor\",\"domains_num\",\"backlinks_num\",\"first_seen\",\"last_seen\"]).describe(\"Columns to include in the report; defaults to all available columns if omitted.\").optional(),\n}).describe(\"Parameters for requesting an anchor text report.\");\nexport const SemrushAnchorsOutput = z.object({\n data: z.string().describe(\"Anchor text report data as a CSV-formatted string.\").nullable(),\n}).passthrough().describe(\"Anchor text report data from the API.\");\n\nexport const semrushAnchors = action(\"SEMRUSH_ANCHORS\", {\n slug: \"semrush-anchors\",\n name: \"Get anchor texts\",\n description: \"Use this action to get a CSV report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or URL.\",\n input: SemrushAnchorsInput,\n output: SemrushAnchorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAClI,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAqB;EAAsB;EAAkB;EAAmB;EAAiB;CAAgB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAClU,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAe;EAAiB;EAAc;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAc;EAAgB;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACzR,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,iBAAiBC,eAAAA,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,35 +9,35 @@ declare const SemrushAnchorsInput: z.ZodObject<{
|
|
|
9
9
|
url: "url";
|
|
10
10
|
}>;
|
|
11
11
|
display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
12
|
+
last_seen_asc: "last_seen_asc";
|
|
13
|
+
last_seen_desc: "last_seen_desc";
|
|
14
|
+
first_seen_asc: "first_seen_asc";
|
|
15
|
+
first_seen_desc: "first_seen_desc";
|
|
12
16
|
domains_num_asc: "domains_num_asc";
|
|
13
17
|
domains_num_desc: "domains_num_desc";
|
|
14
18
|
backlinks_num_asc: "backlinks_num_asc";
|
|
15
19
|
backlinks_num_desc: "backlinks_num_desc";
|
|
16
|
-
first_seen_asc: "first_seen_asc";
|
|
17
|
-
first_seen_desc: "first_seen_desc";
|
|
18
|
-
last_seen_asc: "last_seen_asc";
|
|
19
|
-
last_seen_desc: "last_seen_desc";
|
|
20
20
|
}>>>;
|
|
21
21
|
display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
22
22
|
display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
23
23
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
24
|
-
backlinks_num: "backlinks_num";
|
|
25
|
-
domains_num: "domains_num";
|
|
26
24
|
anchor: "anchor";
|
|
27
|
-
first_seen: "first_seen";
|
|
28
25
|
last_seen: "last_seen";
|
|
26
|
+
first_seen: "first_seen";
|
|
27
|
+
domains_num: "domains_num";
|
|
28
|
+
backlinks_num: "backlinks_num";
|
|
29
29
|
}>>>>;
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
declare const SemrushAnchorsOutput: z.ZodObject<{
|
|
32
32
|
data: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const semrushAnchors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
target: string;
|
|
36
36
|
target_type: "root_domain" | "domain" | "url";
|
|
37
|
-
display_sort?: "
|
|
37
|
+
display_sort?: "last_seen_asc" | "last_seen_desc" | "first_seen_asc" | "first_seen_desc" | "domains_num_asc" | "domains_num_desc" | "backlinks_num_asc" | "backlinks_num_desc" | undefined;
|
|
38
38
|
display_limit?: number | undefined;
|
|
39
39
|
display_offset?: number | undefined;
|
|
40
|
-
export_columns?: ("
|
|
40
|
+
export_columns?: ("anchor" | "last_seen" | "first_seen" | "domains_num" | "backlinks_num")[] | undefined;
|
|
41
41
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { semrushAnchors };
|
|
@@ -9,35 +9,35 @@ declare const SemrushAnchorsInput: z.ZodObject<{
|
|
|
9
9
|
url: "url";
|
|
10
10
|
}>;
|
|
11
11
|
display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
12
|
+
last_seen_asc: "last_seen_asc";
|
|
13
|
+
last_seen_desc: "last_seen_desc";
|
|
14
|
+
first_seen_asc: "first_seen_asc";
|
|
15
|
+
first_seen_desc: "first_seen_desc";
|
|
12
16
|
domains_num_asc: "domains_num_asc";
|
|
13
17
|
domains_num_desc: "domains_num_desc";
|
|
14
18
|
backlinks_num_asc: "backlinks_num_asc";
|
|
15
19
|
backlinks_num_desc: "backlinks_num_desc";
|
|
16
|
-
first_seen_asc: "first_seen_asc";
|
|
17
|
-
first_seen_desc: "first_seen_desc";
|
|
18
|
-
last_seen_asc: "last_seen_asc";
|
|
19
|
-
last_seen_desc: "last_seen_desc";
|
|
20
20
|
}>>>;
|
|
21
21
|
display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
22
22
|
display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
23
23
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
24
|
-
backlinks_num: "backlinks_num";
|
|
25
|
-
domains_num: "domains_num";
|
|
26
24
|
anchor: "anchor";
|
|
27
|
-
first_seen: "first_seen";
|
|
28
25
|
last_seen: "last_seen";
|
|
26
|
+
first_seen: "first_seen";
|
|
27
|
+
domains_num: "domains_num";
|
|
28
|
+
backlinks_num: "backlinks_num";
|
|
29
29
|
}>>>>;
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
declare const SemrushAnchorsOutput: z.ZodObject<{
|
|
32
32
|
data: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const semrushAnchors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
target: string;
|
|
36
36
|
target_type: "root_domain" | "domain" | "url";
|
|
37
|
-
display_sort?: "
|
|
37
|
+
display_sort?: "last_seen_asc" | "last_seen_desc" | "first_seen_asc" | "first_seen_desc" | "domains_num_asc" | "domains_num_desc" | "backlinks_num_asc" | "backlinks_num_desc" | undefined;
|
|
38
38
|
display_limit?: number | undefined;
|
|
39
39
|
display_offset?: number | undefined;
|
|
40
|
-
export_columns?: ("
|
|
40
|
+
export_columns?: ("anchor" | "last_seen" | "first_seen" | "domains_num" | "backlinks_num")[] | undefined;
|
|
41
41
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { semrushAnchors };
|
package/dist/actions/anchors.mjs
CHANGED
|
@@ -37,7 +37,7 @@ const semrushAnchors = action("SEMRUSH_ANCHORS", {
|
|
|
37
37
|
"last_seen"
|
|
38
38
|
]).describe("Columns to include in the report; defaults to all available columns if omitted.").optional()
|
|
39
39
|
}).describe("Parameters for requesting an anchor text report."),
|
|
40
|
-
output: z.object({ data: z.string().describe("Anchor text report data as a CSV-formatted string.").nullable() }).describe("Anchor text report data from the API.")
|
|
40
|
+
output: z.object({ data: z.string().describe("Anchor text report data as a CSV-formatted string.").nullable() }).passthrough().describe("Anchor text report data from the API.")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { semrushAnchors };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchors.mjs","names":[],"sources":["../../src/actions/anchors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAnchorsInput = z.object({\n target: z.string().describe(\"Domain, root domain, or URL to analyze for its backlink anchor texts.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.\"),\n display_sort: z.enum([\"domains_num_asc\", \"domains_num_desc\", \"backlinks_num_asc\", \"backlinks_num_desc\", \"first_seen_asc\", \"first_seen_desc\", \"last_seen_asc\", \"last_seen_desc\"]).default(\"domains_num_desc\").describe(\"Sorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of anchor text entries to return.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of anchor text entries to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"anchor\", \"domains_num\", \"backlinks_num\", \"first_seen\", \"last_seen\"])).default([\"anchor\",\"domains_num\",\"backlinks_num\",\"first_seen\",\"last_seen\"]).describe(\"Columns to include in the report; defaults to all available columns if omitted.\").optional(),\n}).describe(\"Parameters for requesting an anchor text report.\");\nexport const SemrushAnchorsOutput = z.object({\n data: z.string().describe(\"Anchor text report data as a CSV-formatted string.\").nullable(),\n}).describe(\"Anchor text report data from the API.\");\n\nexport const semrushAnchors = action(\"SEMRUSH_ANCHORS\", {\n slug: \"semrush-anchors\",\n name: \"Get anchor texts\",\n description: \"Use this action to get a CSV report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or URL.\",\n input: SemrushAnchorsInput,\n output: SemrushAnchorsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO;EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACnG,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAClI,cAAc,EAAE,KAAK;GAAC;GAAmB;GAAoB;GAAqB;GAAsB;GAAkB;GAAmB;GAAiB;EAAgB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAClU,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAe;GAAiB;GAAc;EAAW,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAc;GAAgB;GAAa;EAAW,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACzR,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"anchors.mjs","names":[],"sources":["../../src/actions/anchors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAnchorsInput = z.object({\n target: z.string().describe(\"Domain, root domain, or URL to analyze for its backlink anchor texts.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.\"),\n display_sort: z.enum([\"domains_num_asc\", \"domains_num_desc\", \"backlinks_num_asc\", \"backlinks_num_desc\", \"first_seen_asc\", \"first_seen_desc\", \"last_seen_asc\", \"last_seen_desc\"]).default(\"domains_num_desc\").describe(\"Sorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of anchor text entries to return.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of anchor text entries to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"anchor\", \"domains_num\", \"backlinks_num\", \"first_seen\", \"last_seen\"])).default([\"anchor\",\"domains_num\",\"backlinks_num\",\"first_seen\",\"last_seen\"]).describe(\"Columns to include in the report; defaults to all available columns if omitted.\").optional(),\n}).describe(\"Parameters for requesting an anchor text report.\");\nexport const SemrushAnchorsOutput = z.object({\n data: z.string().describe(\"Anchor text report data as a CSV-formatted string.\").nullable(),\n}).passthrough().describe(\"Anchor text report data from the API.\");\n\nexport const semrushAnchors = action(\"SEMRUSH_ANCHORS\", {\n slug: \"semrush-anchors\",\n name: \"Get anchor texts\",\n description: \"Use this action to get a CSV report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or URL.\",\n input: SemrushAnchorsInput,\n output: SemrushAnchorsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO;EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACnG,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAClI,cAAc,EAAE,KAAK;GAAC;GAAmB;GAAoB;GAAqB;GAAsB;GAAkB;GAAmB;GAAiB;EAAgB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAClU,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAe;GAAiB;GAAc;EAAW,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAc;GAAgB;GAAa;EAAW,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACzR,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SemrushAuthorityScoreProfileInput = zod.z.object({
|
|
|
9
9
|
"url"
|
|
10
10
|
]).describe("Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').")
|
|
11
11
|
}).describe("Schema for providing the target and its type to retrieve the Authority Score profile.");
|
|
12
|
-
const SemrushAuthorityScoreProfileOutput = zod.z.object({ data: zod.z.string().describe("A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.").nullable() }).describe("Schema for the response containing the Authority Score profile data.");
|
|
12
|
+
const SemrushAuthorityScoreProfileOutput = zod.z.object({ data: zod.z.string().describe("A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.").nullable() }).passthrough().describe("Schema for the response containing the Authority Score profile data.");
|
|
13
13
|
const semrushAuthorityScoreProfile = require_action.action("SEMRUSH_AUTHORITY_SCORE_PROFILE", {
|
|
14
14
|
slug: "semrush-authority-score-profile",
|
|
15
15
|
name: "Get authority score profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authority-score-profile.cjs","names":["z","action"],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\").nullable(),\n}).describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAC/M,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;AAC3R,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,EAC3R,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"authority-score-profile.cjs","names":["z","action"],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\").nullable(),\n}).passthrough().describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAC/M,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;AAC3R,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,EAC3R,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SemrushAuthorityScoreProfileInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SemrushAuthorityScoreProfileOutput: z.ZodObject<{
|
|
13
13
|
data: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const semrushAuthorityScoreProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
target: string;
|
|
17
17
|
target_type: "root_domain" | "domain" | "url";
|
|
@@ -11,7 +11,7 @@ declare const SemrushAuthorityScoreProfileInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SemrushAuthorityScoreProfileOutput: z.ZodObject<{
|
|
13
13
|
data: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const semrushAuthorityScoreProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
target: string;
|
|
17
17
|
target_type: "root_domain" | "domain" | "url";
|
|
@@ -12,7 +12,7 @@ const semrushAuthorityScoreProfile = action("SEMRUSH_AUTHORITY_SCORE_PROFILE", {
|
|
|
12
12
|
"url"
|
|
13
13
|
]).describe("Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').")
|
|
14
14
|
}).describe("Schema for providing the target and its type to retrieve the Authority Score profile."),
|
|
15
|
-
output: z.object({ data: z.string().describe("A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.").nullable() }).describe("Schema for the response containing the Authority Score profile data.")
|
|
15
|
+
output: z.object({ data: z.string().describe("A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.").nullable() }).passthrough().describe("Schema for the response containing the Authority Score profile data.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { semrushAuthorityScoreProfile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authority-score-profile.mjs","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\").nullable(),\n}).describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;EAC/M,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;CAC3R,CAAC,CAAC,CAAC,SAAS,uFASH;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,EAC3R,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"authority-score-profile.mjs","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\").nullable(),\n}).passthrough().describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;EAC/M,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;CAC3R,CAAC,CAAC,CAAC,SAAS,uFASH;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,EAC3R,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -40,7 +40,7 @@ const SemrushBacklinksOverviewInput = zod.z.object({
|
|
|
40
40
|
"frames_num"
|
|
41
41
|
]).describe("Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.").optional()
|
|
42
42
|
}).describe("Parameters for the Backlinks Overview action.");
|
|
43
|
-
const SemrushBacklinksOverviewOutput = zod.z.object({ data: zod.z.string().describe("CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.").nullable() }).describe("Output of the Backlinks Overview action.");
|
|
43
|
+
const SemrushBacklinksOverviewOutput = zod.z.object({ data: zod.z.string().describe("CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.").nullable() }).passthrough().describe("Output of the Backlinks Overview action.");
|
|
44
44
|
const semrushBacklinksOverview = require_action.action("SEMRUSH_BACKLINKS_OVERVIEW", {
|
|
45
45
|
slug: "semrush-backlinks-overview",
|
|
46
46
|
name: "Backlinks overview",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks-overview.cjs","names":["z","action"],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtK,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACjI,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAe;EAAY;EAAW;EAAgB;EAAe;EAAiB;EAAiB;EAAW;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAQ;EAAc;EAAW;EAAU;EAAe;EAAc;EAAgB;EAAgB;EAAU;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;AACvkB,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"backlinks-overview.cjs","names":["z","action"],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).passthrough().describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtK,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACjI,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAe;EAAY;EAAW;EAAgB;EAAe;EAAiB;EAAiB;EAAW;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAQ;EAAc;EAAW;EAAU;EAAe;EAAc;EAAgB;EAAgB;EAAU;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;AACvkB,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,29 +9,29 @@ declare const SemrushBacklinksOverviewInput: z.ZodObject<{
|
|
|
9
9
|
url: "url";
|
|
10
10
|
}>;
|
|
11
11
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
12
|
-
ascore: "ascore";
|
|
13
12
|
domains_num: "domains_num";
|
|
13
|
+
ascore: "ascore";
|
|
14
|
+
total: "total";
|
|
15
|
+
urls_num: "urls_num";
|
|
14
16
|
ips_num: "ips_num";
|
|
17
|
+
ipclassc_num: "ipclassc_num";
|
|
15
18
|
follows_num: "follows_num";
|
|
16
19
|
nofollows_num: "nofollows_num";
|
|
20
|
+
sponsored_num: "sponsored_num";
|
|
21
|
+
ugc_num: "ugc_num";
|
|
17
22
|
texts_num: "texts_num";
|
|
18
23
|
images_num: "images_num";
|
|
19
24
|
forms_num: "forms_num";
|
|
20
25
|
frames_num: "frames_num";
|
|
21
|
-
total: "total";
|
|
22
|
-
urls_num: "urls_num";
|
|
23
|
-
ipclassc_num: "ipclassc_num";
|
|
24
|
-
sponsored_num: "sponsored_num";
|
|
25
|
-
ugc_num: "ugc_num";
|
|
26
26
|
}>>>>;
|
|
27
27
|
}, z.core.$strip>;
|
|
28
28
|
declare const SemrushBacklinksOverviewOutput: z.ZodObject<{
|
|
29
29
|
data: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const semrushBacklinksOverview: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
target: string;
|
|
33
33
|
target_type: "root_domain" | "domain" | "url";
|
|
34
|
-
export_columns?: ("
|
|
34
|
+
export_columns?: ("domains_num" | "ascore" | "total" | "urls_num" | "ips_num" | "ipclassc_num" | "follows_num" | "nofollows_num" | "sponsored_num" | "ugc_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
|
|
35
35
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { semrushBacklinksOverview };
|
|
@@ -9,29 +9,29 @@ declare const SemrushBacklinksOverviewInput: z.ZodObject<{
|
|
|
9
9
|
url: "url";
|
|
10
10
|
}>;
|
|
11
11
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
12
|
-
ascore: "ascore";
|
|
13
12
|
domains_num: "domains_num";
|
|
13
|
+
ascore: "ascore";
|
|
14
|
+
total: "total";
|
|
15
|
+
urls_num: "urls_num";
|
|
14
16
|
ips_num: "ips_num";
|
|
17
|
+
ipclassc_num: "ipclassc_num";
|
|
15
18
|
follows_num: "follows_num";
|
|
16
19
|
nofollows_num: "nofollows_num";
|
|
20
|
+
sponsored_num: "sponsored_num";
|
|
21
|
+
ugc_num: "ugc_num";
|
|
17
22
|
texts_num: "texts_num";
|
|
18
23
|
images_num: "images_num";
|
|
19
24
|
forms_num: "forms_num";
|
|
20
25
|
frames_num: "frames_num";
|
|
21
|
-
total: "total";
|
|
22
|
-
urls_num: "urls_num";
|
|
23
|
-
ipclassc_num: "ipclassc_num";
|
|
24
|
-
sponsored_num: "sponsored_num";
|
|
25
|
-
ugc_num: "ugc_num";
|
|
26
26
|
}>>>>;
|
|
27
27
|
}, z.core.$strip>;
|
|
28
28
|
declare const SemrushBacklinksOverviewOutput: z.ZodObject<{
|
|
29
29
|
data: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const semrushBacklinksOverview: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
target: string;
|
|
33
33
|
target_type: "root_domain" | "domain" | "url";
|
|
34
|
-
export_columns?: ("
|
|
34
|
+
export_columns?: ("domains_num" | "ascore" | "total" | "urls_num" | "ips_num" | "ipclassc_num" | "follows_num" | "nofollows_num" | "sponsored_num" | "ugc_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
|
|
35
35
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { semrushBacklinksOverview };
|
|
@@ -43,7 +43,7 @@ const semrushBacklinksOverview = action("SEMRUSH_BACKLINKS_OVERVIEW", {
|
|
|
43
43
|
"frames_num"
|
|
44
44
|
]).describe("Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.").optional()
|
|
45
45
|
}).describe("Parameters for the Backlinks Overview action."),
|
|
46
|
-
output: z.object({ data: z.string().describe("CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.").nullable() }).describe("Output of the Backlinks Overview action.")
|
|
46
|
+
output: z.object({ data: z.string().describe("CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.").nullable() }).passthrough().describe("Output of the Backlinks Overview action.")
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
49
|
export { semrushBacklinksOverview };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks-overview.mjs","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACtK,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACjI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAS;GAAe;GAAY;GAAW;GAAgB;GAAe;GAAiB;GAAiB;GAAW;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAQ;GAAc;GAAW;GAAU;GAAe;GAAc;GAAgB;GAAgB;GAAU;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACvkB,CAAC,CAAC,CAAC,SAAS,+CASH;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"backlinks-overview.mjs","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).passthrough().describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACtK,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACjI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAS;GAAe;GAAY;GAAW;GAAgB;GAAe;GAAiB;GAAiB;GAAW;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAQ;GAAc;GAAW;GAAU;GAAe;GAAc;GAAgB;GAAgB;GAAU;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACvkB,CAAC,CAAC,CAAC,SAAS,+CASH;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -77,7 +77,7 @@ const SemrushBacklinksInput = zod.z.object({
|
|
|
77
77
|
"lostlink"
|
|
78
78
|
]).describe("Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.").optional()
|
|
79
79
|
}).describe("Defines the parameters for requesting backlink data.");
|
|
80
|
-
const SemrushBacklinksOutput = zod.z.object({ data: zod.z.string().describe("A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.").nullable() }).describe("Contains the response data from a `Backlinks` API request.");
|
|
80
|
+
const SemrushBacklinksOutput = zod.z.object({ data: zod.z.string().describe("A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.").nullable() }).passthrough().describe("Contains the response data from a `Backlinks` API request.");
|
|
81
81
|
const semrushBacklinks = require_action.action("SEMRUSH_BACKLINKS", {
|
|
82
82
|
slug: "semrush-backlinks",
|
|
83
83
|
name: "Get backlinks",
|