@keystrokehq/semrush 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/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 +5 -5
- package/dist/actions/ads-copies.d.mts +5 -5
- 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 +6 -6
- package/dist/actions/anchors.d.mts +6 -6
- 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 +3 -3
- package/dist/actions/authority-score-profile.d.mts +3 -3
- 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 +10 -10
- package/dist/actions/backlinks-overview.d.mts +10 -10
- 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 +3 -3
- package/dist/actions/backlinks.d.mts +3 -3
- 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 +6 -6
- package/dist/actions/batch-comparison.d.mts +6 -6
- 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 +5 -5
- package/dist/actions/batch-keyword-overview.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/broad-match-keyword.d.mts +5 -5
- 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 +3 -3
- package/dist/actions/categories-profile.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/categories.d.mts +3 -3
- 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 +9 -9
- package/dist/actions/competitors-in-organic-search.d.mts +9 -9
- 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 +7 -7
- package/dist/actions/competitors-in-paid-search.d.mts +7 -7
- 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 +6 -6
- package/dist/actions/competitors.d.mts +6 -6
- 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 +10 -10
- package/dist/actions/domain-ad-history.d.mts +10 -10
- 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 +11 -11
- package/dist/actions/domain-organic-pages.d.mts +11 -11
- 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 +16 -16
- package/dist/actions/domain-organic-search-keywords.d.mts +16 -16
- 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 +8 -8
- package/dist/actions/domain-organic-subdomains.d.mts +8 -8
- 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 +13 -13
- package/dist/actions/domain-paid-search-keywords.d.mts +13 -13
- 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 +5 -5
- package/dist/actions/domain-pla-search-keywords.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/domain-vs-domain.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/indexed-pages.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/keyword-difficulty.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/keyword-overview-all-databases.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/keyword-overview-one-database.d.mts +5 -5
- 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 +7 -7
- package/dist/actions/keywords-ads-history.d.mts +7 -7
- 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 +5 -5
- package/dist/actions/organic-results.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/paid-results.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/phrase-questions.d.mts +5 -5
- 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 +7 -7
- package/dist/actions/pla-competitors.d.mts +7 -7
- 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 +5 -5
- package/dist/actions/pla-copies.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/referring-domains-by-country.d.mts +5 -5
- 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 +3 -3
- package/dist/actions/referring-domains.d.mts +3 -3
- 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 +5 -5
- package/dist/actions/referring-i-ps.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/related-keywords.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/tld-distribution.d.mts +5 -5
- package/dist/actions/tld-distribution.mjs +1 -1
- package/dist/actions/tld-distribution.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,34 +4,34 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushBacklinksOverviewInput: z.ZodObject<{
|
|
5
5
|
target: z.ZodString;
|
|
6
6
|
target_type: z.ZodEnum<{
|
|
7
|
-
root_domain: "root_domain";
|
|
8
7
|
domain: "domain";
|
|
8
|
+
root_domain: "root_domain";
|
|
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
|
-
target_type: "
|
|
34
|
-
export_columns?: ("
|
|
33
|
+
target_type: "domain" | "root_domain" | "url";
|
|
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",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks.cjs","names":["z","action"],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).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(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACxI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,oLAAoL;CACnP,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAiB;EAAkB;EAAkB;CAAiB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtO,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;CACzT,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAM;EAAa;EAAU;EAAW;EAAY;EAAa;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACxQ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC/L,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAiB;EAAe;EAAgB;EAAgB;EAAgB;EAAc;EAAgB;EAAa;EAAc;EAAgB;EAAU;EAAa;EAAa;EAAc;EAAY;EAAQ;EAAS;EAAS;EAAY;EAAW;CAAU,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAc;EAAgB;EAAc;EAAe;EAAe;EAAe;EAAa;EAAe;EAAY;EAAa;EAAe;EAAS;EAAY;EAAY;EAAa;EAAW;EAAO;EAAQ;EAAQ;EAAW;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;AAChyB,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"backlinks.cjs","names":["z","action"],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).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(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).passthrough().describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACxI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,oLAAoL;CACnP,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAiB;EAAkB;EAAkB;CAAiB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtO,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;CACzT,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAM;EAAa;EAAU;EAAW;EAAY;EAAa;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACxQ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC/L,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAiB;EAAe;EAAgB;EAAgB;EAAgB;EAAc;EAAgB;EAAa;EAAc;EAAgB;EAAU;EAAa;EAAa;EAAc;EAAY;EAAQ;EAAS;EAAS;EAAY;EAAW;CAAU,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAc;EAAgB;EAAc;EAAe;EAAe;EAAe;EAAa;EAAe;EAAY;EAAa;EAAe;EAAS;EAAY;EAAY;EAAa;EAAW;EAAO;EAAQ;EAAQ;EAAW;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;AAChyB,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,mBAAmBC,eAAAA,OAAO,qBAAqB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,8 +4,8 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushBacklinksInput: z.ZodObject<{
|
|
5
5
|
target: z.ZodString;
|
|
6
6
|
target_type: z.ZodEnum<{
|
|
7
|
-
root_domain: "root_domain";
|
|
8
7
|
domain: "domain";
|
|
8
|
+
root_domain: "root_domain";
|
|
9
9
|
url: "url";
|
|
10
10
|
}>;
|
|
11
11
|
display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
@@ -56,10 +56,10 @@ declare const SemrushBacklinksInput: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
declare const SemrushBacklinksOutput: z.ZodObject<{
|
|
58
58
|
data: z.ZodNullable<z.ZodString>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>;
|
|
60
60
|
declare const semrushBacklinks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
61
61
|
target: string;
|
|
62
|
-
target_type: "
|
|
62
|
+
target_type: "domain" | "root_domain" | "url";
|
|
63
63
|
display_sort?: "first_seen_asc" | "first_seen_desc" | "last_seen_asc" | "last_seen_desc" | "page_ascore_asc" | "page_ascore_desc" | undefined;
|
|
64
64
|
display_limit?: number | undefined;
|
|
65
65
|
display_filter?: ("type" | "anchor" | "zone" | "ip" | "refdomain" | "newlink" | "lostlink" | "urlanchor" | "redirects")[] | undefined;
|
|
@@ -4,8 +4,8 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushBacklinksInput: z.ZodObject<{
|
|
5
5
|
target: z.ZodString;
|
|
6
6
|
target_type: z.ZodEnum<{
|
|
7
|
-
root_domain: "root_domain";
|
|
8
7
|
domain: "domain";
|
|
8
|
+
root_domain: "root_domain";
|
|
9
9
|
url: "url";
|
|
10
10
|
}>;
|
|
11
11
|
display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
@@ -56,10 +56,10 @@ declare const SemrushBacklinksInput: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
declare const SemrushBacklinksOutput: z.ZodObject<{
|
|
58
58
|
data: z.ZodNullable<z.ZodString>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>;
|
|
60
60
|
declare const semrushBacklinks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
61
61
|
target: string;
|
|
62
|
-
target_type: "
|
|
62
|
+
target_type: "domain" | "root_domain" | "url";
|
|
63
63
|
display_sort?: "first_seen_asc" | "first_seen_desc" | "last_seen_asc" | "last_seen_desc" | "page_ascore_asc" | "page_ascore_desc" | undefined;
|
|
64
64
|
display_limit?: number | undefined;
|
|
65
65
|
display_filter?: ("type" | "anchor" | "zone" | "ip" | "refdomain" | "newlink" | "lostlink" | "urlanchor" | "redirects")[] | undefined;
|
|
@@ -80,7 +80,7 @@ const semrushBacklinks = action("SEMRUSH_BACKLINKS", {
|
|
|
80
80
|
"lostlink"
|
|
81
81
|
]).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()
|
|
82
82
|
}).describe("Defines the parameters for requesting backlink data."),
|
|
83
|
-
output: z.object({ data: 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.")
|
|
83
|
+
output: z.object({ data: 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.")
|
|
84
84
|
});
|
|
85
85
|
//#endregion
|
|
86
86
|
export { semrushBacklinks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks.mjs","names":[],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).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(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mBAAmB,OAAO,qBAAqB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EACxI,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,oLAAoL;EACnP,cAAc,EAAE,KAAK;GAAC;GAAmB;GAAoB;GAAiB;GAAkB;GAAkB;EAAiB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtO,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;EACzT,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAM;GAAa;GAAU;GAAW;GAAY;GAAa;EAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACxQ,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EAC/L,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAe;GAAiB;GAAe;GAAgB;GAAgB;GAAgB;GAAc;GAAgB;GAAa;GAAc;GAAgB;GAAU;GAAa;GAAa;GAAc;GAAY;GAAQ;GAAS;GAAS;GAAY;GAAW;EAAU,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAc;GAAgB;GAAc;GAAe;GAAe;GAAe;GAAa;GAAe;GAAY;GAAa;GAAe;GAAS;GAAY;GAAY;GAAa;GAAW;GAAO;GAAQ;GAAQ;GAAW;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CAChyB,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"backlinks.mjs","names":[],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).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(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).passthrough().describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mBAAmB,OAAO,qBAAqB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EACxI,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,oLAAoL;EACnP,cAAc,EAAE,KAAK;GAAC;GAAmB;GAAoB;GAAiB;GAAkB;GAAkB;EAAiB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtO,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;EACzT,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAM;GAAa;GAAU;GAAW;GAAY;GAAa;EAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACxQ,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EAC/L,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAe;GAAiB;GAAe;GAAgB;GAAgB;GAAgB;GAAc;GAAgB;GAAa;GAAc;GAAgB;GAAU;GAAa;GAAa;GAAc;GAAY;GAAQ;GAAS;GAAS;GAAY;GAAW;EAAU,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAc;GAAgB;GAAc;GAAe;GAAe;GAAe;GAAa;GAAe;GAAY;GAAa;GAAe;GAAS;GAAY;GAAY;GAAa;GAAW;GAAO;GAAQ;GAAQ;GAAW;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CAChyB,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -36,7 +36,7 @@ const SemrushBatchComparisonInput = zod.z.object({
|
|
|
36
36
|
"frames_num"
|
|
37
37
|
]).describe("Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.").optional()
|
|
38
38
|
}).describe("Request schema for `BatchComparison`");
|
|
39
|
-
const SemrushBatchComparisonOutput = zod.z.object({ data: zod.z.string().describe("Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.").nullable() }).describe("Response schema for `BatchComparison`");
|
|
39
|
+
const SemrushBatchComparisonOutput = zod.z.object({ data: zod.z.string().describe("Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.").nullable() }).passthrough().describe("Response schema for `BatchComparison`");
|
|
40
40
|
const semrushBatchComparison = require_action.action("SEMRUSH_BATCH_COMPARISON", {
|
|
41
41
|
slug: "semrush-batch-comparison",
|
|
42
42
|
name: "Batch comparison",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-comparison.cjs","names":["z","action"],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchComparisonInput = z.object({\n targets: z.array(z.string()).describe(\"A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.\"),\n target_types: z.array(z.enum([\"root_domain\", \"domain\", \"url\"])).describe(\"Specifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.\"),\n export_columns: z.array(z.enum([\"target\", \"target_type\", \"ascore\", \"backlinks_num\", \"domains_num\", \"ips_num\", \"follows_num\", \"nofollows_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"target\",\"target_type\",\"ascore\",\"backlinks_num\",\"domains_num\",\"ips_num\",\"follows_num\",\"nofollows_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.\").optional(),\n}).describe(\"Request schema for `BatchComparison`\");\nexport const SemrushBatchComparisonOutput = z.object({\n data: z.string().describe(\"Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.\").nullable(),\n}).describe(\"Response schema for `BatchComparison`\");\n\nexport const semrushBatchComparison = action(\"SEMRUSH_BATCH_COMPARISON\", {\n slug: \"semrush-batch-comparison\",\n name: \"Batch comparison\",\n description: \"Compares backlink profiles for multiple specified targets (domains, subdomains, or URLs) to analyze and compare link-building efforts.\",\n input: SemrushBatchComparisonInput,\n output: SemrushBatchComparisonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACrI,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,CAAC,SAAS,mJAAmJ;CAC5N,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAe;EAAU;EAAiB;EAAe;EAAW;EAAe;EAAiB;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAc;EAAS;EAAgB;EAAc;EAAU;EAAc;EAAgB;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAC3iB,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"batch-comparison.cjs","names":["z","action"],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchComparisonInput = z.object({\n targets: z.array(z.string()).describe(\"A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.\"),\n target_types: z.array(z.enum([\"root_domain\", \"domain\", \"url\"])).describe(\"Specifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.\"),\n export_columns: z.array(z.enum([\"target\", \"target_type\", \"ascore\", \"backlinks_num\", \"domains_num\", \"ips_num\", \"follows_num\", \"nofollows_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"target\",\"target_type\",\"ascore\",\"backlinks_num\",\"domains_num\",\"ips_num\",\"follows_num\",\"nofollows_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.\").optional(),\n}).describe(\"Request schema for `BatchComparison`\");\nexport const SemrushBatchComparisonOutput = z.object({\n data: z.string().describe(\"Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.\").nullable(),\n}).passthrough().describe(\"Response schema for `BatchComparison`\");\n\nexport const semrushBatchComparison = action(\"SEMRUSH_BATCH_COMPARISON\", {\n slug: \"semrush-batch-comparison\",\n name: \"Batch comparison\",\n description: \"Compares backlink profiles for multiple specified targets (domains, subdomains, or URLs) to analyze and compare link-building efforts.\",\n input: SemrushBatchComparisonInput,\n output: SemrushBatchComparisonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACrI,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,CAAC,SAAS,mJAAmJ;CAC5N,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAe;EAAU;EAAiB;EAAe;EAAW;EAAe;EAAiB;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAc;EAAS;EAAgB;EAAc;EAAU;EAAc;EAAgB;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAC3iB,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,16 +4,16 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushBatchComparisonInput: z.ZodObject<{
|
|
5
5
|
targets: z.ZodArray<z.ZodString>;
|
|
6
6
|
target_types: z.ZodArray<z.ZodEnum<{
|
|
7
|
-
root_domain: "root_domain";
|
|
8
7
|
domain: "domain";
|
|
8
|
+
root_domain: "root_domain";
|
|
9
9
|
url: "url";
|
|
10
10
|
}>>;
|
|
11
11
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
12
12
|
target: "target";
|
|
13
13
|
target_type: "target_type";
|
|
14
|
-
ascore: "ascore";
|
|
15
|
-
backlinks_num: "backlinks_num";
|
|
16
14
|
domains_num: "domains_num";
|
|
15
|
+
backlinks_num: "backlinks_num";
|
|
16
|
+
ascore: "ascore";
|
|
17
17
|
ips_num: "ips_num";
|
|
18
18
|
follows_num: "follows_num";
|
|
19
19
|
nofollows_num: "nofollows_num";
|
|
@@ -25,11 +25,11 @@ declare const SemrushBatchComparisonInput: z.ZodObject<{
|
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
declare const SemrushBatchComparisonOutput: z.ZodObject<{
|
|
27
27
|
data: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const semrushBatchComparison: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
targets: string[];
|
|
31
|
-
target_types: ("
|
|
32
|
-
export_columns?: ("target" | "target_type" | "
|
|
31
|
+
target_types: ("domain" | "root_domain" | "url")[];
|
|
32
|
+
export_columns?: ("target" | "target_type" | "domains_num" | "backlinks_num" | "ascore" | "ips_num" | "follows_num" | "nofollows_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
|
|
33
33
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { semrushBatchComparison };
|
|
@@ -4,16 +4,16 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushBatchComparisonInput: z.ZodObject<{
|
|
5
5
|
targets: z.ZodArray<z.ZodString>;
|
|
6
6
|
target_types: z.ZodArray<z.ZodEnum<{
|
|
7
|
-
root_domain: "root_domain";
|
|
8
7
|
domain: "domain";
|
|
8
|
+
root_domain: "root_domain";
|
|
9
9
|
url: "url";
|
|
10
10
|
}>>;
|
|
11
11
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
12
12
|
target: "target";
|
|
13
13
|
target_type: "target_type";
|
|
14
|
-
ascore: "ascore";
|
|
15
|
-
backlinks_num: "backlinks_num";
|
|
16
14
|
domains_num: "domains_num";
|
|
15
|
+
backlinks_num: "backlinks_num";
|
|
16
|
+
ascore: "ascore";
|
|
17
17
|
ips_num: "ips_num";
|
|
18
18
|
follows_num: "follows_num";
|
|
19
19
|
nofollows_num: "nofollows_num";
|
|
@@ -25,11 +25,11 @@ declare const SemrushBatchComparisonInput: z.ZodObject<{
|
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
declare const SemrushBatchComparisonOutput: z.ZodObject<{
|
|
27
27
|
data: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const semrushBatchComparison: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
targets: string[];
|
|
31
|
-
target_types: ("
|
|
32
|
-
export_columns?: ("target" | "target_type" | "
|
|
31
|
+
target_types: ("domain" | "root_domain" | "url")[];
|
|
32
|
+
export_columns?: ("target" | "target_type" | "domains_num" | "backlinks_num" | "ascore" | "ips_num" | "follows_num" | "nofollows_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
|
|
33
33
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { semrushBatchComparison };
|
|
@@ -39,7 +39,7 @@ const semrushBatchComparison = action("SEMRUSH_BATCH_COMPARISON", {
|
|
|
39
39
|
"frames_num"
|
|
40
40
|
]).describe("Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.").optional()
|
|
41
41
|
}).describe("Request schema for `BatchComparison`"),
|
|
42
|
-
output: z.object({ data: z.string().describe("Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.").nullable() }).describe("Response schema for `BatchComparison`")
|
|
42
|
+
output: z.object({ data: z.string().describe("Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.").nullable() }).passthrough().describe("Response schema for `BatchComparison`")
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { semrushBatchComparison };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-comparison.mjs","names":[],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchComparisonInput = z.object({\n targets: z.array(z.string()).describe(\"A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.\"),\n target_types: z.array(z.enum([\"root_domain\", \"domain\", \"url\"])).describe(\"Specifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.\"),\n export_columns: z.array(z.enum([\"target\", \"target_type\", \"ascore\", \"backlinks_num\", \"domains_num\", \"ips_num\", \"follows_num\", \"nofollows_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"target\",\"target_type\",\"ascore\",\"backlinks_num\",\"domains_num\",\"ips_num\",\"follows_num\",\"nofollows_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.\").optional(),\n}).describe(\"Request schema for `BatchComparison`\");\nexport const SemrushBatchComparisonOutput = z.object({\n data: z.string().describe(\"Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.\").nullable(),\n}).describe(\"Response schema for `BatchComparison`\");\n\nexport const semrushBatchComparison = action(\"SEMRUSH_BATCH_COMPARISON\", {\n slug: \"semrush-batch-comparison\",\n name: \"Batch comparison\",\n description: \"Compares backlink profiles for multiple specified targets (domains, subdomains, or URLs) to analyze and compare link-building efforts.\",\n input: SemrushBatchComparisonInput,\n output: SemrushBatchComparisonOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;EACrI,cAAc,EAAE,MAAM,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,CAAC,SAAS,mJAAmJ;EAC5N,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAe;GAAU;GAAiB;GAAe;GAAW;GAAe;GAAiB;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAc;GAAS;GAAgB;GAAc;GAAU;GAAc;GAAgB;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CAC3iB,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"batch-comparison.mjs","names":[],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchComparisonInput = z.object({\n targets: z.array(z.string()).describe(\"A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.\"),\n target_types: z.array(z.enum([\"root_domain\", \"domain\", \"url\"])).describe(\"Specifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.\"),\n export_columns: z.array(z.enum([\"target\", \"target_type\", \"ascore\", \"backlinks_num\", \"domains_num\", \"ips_num\", \"follows_num\", \"nofollows_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"target\",\"target_type\",\"ascore\",\"backlinks_num\",\"domains_num\",\"ips_num\",\"follows_num\",\"nofollows_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.\").optional(),\n}).describe(\"Request schema for `BatchComparison`\");\nexport const SemrushBatchComparisonOutput = z.object({\n data: z.string().describe(\"Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.\").nullable(),\n}).passthrough().describe(\"Response schema for `BatchComparison`\");\n\nexport const semrushBatchComparison = action(\"SEMRUSH_BATCH_COMPARISON\", {\n slug: \"semrush-batch-comparison\",\n name: \"Batch comparison\",\n description: \"Compares backlink profiles for multiple specified targets (domains, subdomains, or URLs) to analyze and compare link-building efforts.\",\n input: SemrushBatchComparisonInput,\n output: SemrushBatchComparisonOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;EACrI,cAAc,EAAE,MAAM,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,CAAC,SAAS,mJAAmJ;EAC5N,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAe;GAAU;GAAiB;GAAe;GAAW;GAAe;GAAiB;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAc;GAAS;GAAgB;GAAc;GAAU;GAAc;GAAgB;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CAC3iB,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -177,7 +177,7 @@ const SemrushBatchKeywordOverviewInput = zod.z.object({
|
|
|
177
177
|
const SemrushBatchKeywordOverviewOutput = zod.z.object({
|
|
178
178
|
keyword_data: zod.z.string().describe("A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.").nullable(),
|
|
179
179
|
composio_execution_message: zod.z.string().describe("Message explaining any modifications made to user input (e.g., phrase truncation or conversion).").nullable().optional()
|
|
180
|
-
});
|
|
180
|
+
}).passthrough();
|
|
181
181
|
const semrushBatchKeywordOverview = require_action.action("SEMRUSH_BATCH_KEYWORD_OVERVIEW", {
|
|
182
182
|
slug: "semrush-batch-keyword-overview",
|
|
183
183
|
name: "Batch keyword overview",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-keyword-overview.cjs","names":["z","action"],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\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(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n});\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gXAAgX;CAC5Y,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAU;EAAU;EAAU;EAAU;EAAU;EAAU;EAAU;EAAiB;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,qPAAqP;CAC3xC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACtK,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACtK,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,icAAic,CAAC,CAAC,SAAS;AAC5lB,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACtR,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC;
|
|
1
|
+
{"version":3,"file":"batch-keyword-overview.cjs","names":["z","action"],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\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(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n}).passthrough();\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gXAAgX;CAC5Y,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAU;EAAU;EAAU;EAAU;EAAU;EAAU;EAAU;EAAiB;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,qPAAqP;CAC3xC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACtK,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACtK,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,icAAic,CAAC,CAAC,SAAS;AAC5lB,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACtR,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
5
5
|
phrase: z.ZodString;
|
|
6
6
|
database: z.ZodEnum<{
|
|
7
|
-
in: "in";
|
|
8
|
-
at: "at";
|
|
9
|
-
id: "id";
|
|
10
7
|
us: "us";
|
|
11
8
|
uk: "uk";
|
|
12
9
|
ca: "ca";
|
|
@@ -33,12 +30,14 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
33
30
|
sg: "sg";
|
|
34
31
|
tr: "tr";
|
|
35
32
|
jp: "jp";
|
|
33
|
+
in: "in";
|
|
36
34
|
hu: "hu";
|
|
37
35
|
af: "af";
|
|
38
36
|
al: "al";
|
|
39
37
|
dz: "dz";
|
|
40
38
|
ao: "ao";
|
|
41
39
|
am: "am";
|
|
40
|
+
at: "at";
|
|
42
41
|
az: "az";
|
|
43
42
|
bh: "bh";
|
|
44
43
|
bd: "bd";
|
|
@@ -73,6 +72,7 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
73
72
|
ht: "ht";
|
|
74
73
|
hn: "hn";
|
|
75
74
|
is: "is";
|
|
75
|
+
id: "id";
|
|
76
76
|
jm: "jm";
|
|
77
77
|
jo: "jo";
|
|
78
78
|
kz: "kz";
|
|
@@ -168,11 +168,11 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
168
168
|
declare const SemrushBatchKeywordOverviewOutput: z.ZodObject<{
|
|
169
169
|
keyword_data: z.ZodNullable<z.ZodString>;
|
|
170
170
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
-
}, z.core.$
|
|
171
|
+
}, z.core.$loose>;
|
|
172
172
|
declare const semrushBatchKeywordOverview: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
173
173
|
[x: string]: unknown;
|
|
174
174
|
phrase: string;
|
|
175
|
-
database: "
|
|
175
|
+
database: "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";
|
|
176
176
|
display_date?: string | undefined;
|
|
177
177
|
export_decode?: 0 | 1 | undefined;
|
|
178
178
|
export_escape?: 0 | 1 | undefined;
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
5
5
|
phrase: z.ZodString;
|
|
6
6
|
database: z.ZodEnum<{
|
|
7
|
-
in: "in";
|
|
8
|
-
at: "at";
|
|
9
|
-
id: "id";
|
|
10
7
|
us: "us";
|
|
11
8
|
uk: "uk";
|
|
12
9
|
ca: "ca";
|
|
@@ -33,12 +30,14 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
33
30
|
sg: "sg";
|
|
34
31
|
tr: "tr";
|
|
35
32
|
jp: "jp";
|
|
33
|
+
in: "in";
|
|
36
34
|
hu: "hu";
|
|
37
35
|
af: "af";
|
|
38
36
|
al: "al";
|
|
39
37
|
dz: "dz";
|
|
40
38
|
ao: "ao";
|
|
41
39
|
am: "am";
|
|
40
|
+
at: "at";
|
|
42
41
|
az: "az";
|
|
43
42
|
bh: "bh";
|
|
44
43
|
bd: "bd";
|
|
@@ -73,6 +72,7 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
73
72
|
ht: "ht";
|
|
74
73
|
hn: "hn";
|
|
75
74
|
is: "is";
|
|
75
|
+
id: "id";
|
|
76
76
|
jm: "jm";
|
|
77
77
|
jo: "jo";
|
|
78
78
|
kz: "kz";
|
|
@@ -168,11 +168,11 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
168
168
|
declare const SemrushBatchKeywordOverviewOutput: z.ZodObject<{
|
|
169
169
|
keyword_data: z.ZodNullable<z.ZodString>;
|
|
170
170
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
-
}, z.core.$
|
|
171
|
+
}, z.core.$loose>;
|
|
172
172
|
declare const semrushBatchKeywordOverview: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
173
173
|
[x: string]: unknown;
|
|
174
174
|
phrase: string;
|
|
175
|
-
database: "
|
|
175
|
+
database: "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";
|
|
176
176
|
display_date?: string | undefined;
|
|
177
177
|
export_decode?: 0 | 1 | undefined;
|
|
178
178
|
export_escape?: 0 | 1 | undefined;
|
|
@@ -180,7 +180,7 @@ const semrushBatchKeywordOverview = action("SEMRUSH_BATCH_KEYWORD_OVERVIEW", {
|
|
|
180
180
|
output: z.object({
|
|
181
181
|
keyword_data: z.string().describe("A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.").nullable(),
|
|
182
182
|
composio_execution_message: z.string().describe("Message explaining any modifications made to user input (e.g., phrase truncation or conversion).").nullable().optional()
|
|
183
|
-
})
|
|
183
|
+
}).passthrough()
|
|
184
184
|
});
|
|
185
185
|
//#endregion
|
|
186
186
|
export { semrushBatchKeywordOverview };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-keyword-overview.mjs","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\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(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n});\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;AAiBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gXAAgX;EAC5Y,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;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;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAiB;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,qPAAqP;EAC3xC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACtJ,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACtK,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACtK,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,icAAic,CAAC,CAAC,SAAS;CAC5lB,CAAC,CAAC,CAAC,YAUM;CACP,QAV+C,EAAE,OAAO;EACxD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACtR,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,
|
|
1
|
+
{"version":3,"file":"batch-keyword-overview.mjs","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\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(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n}).passthrough();\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;AAiBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gXAAgX;EAC5Y,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;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;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAiB;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,qPAAqP;EAC3xC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACtJ,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACtK,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACtK,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,icAAic,CAAC,CAAC,SAAS;CAC5lB,CAAC,CAAC,CAAC,YAUM;CACP,QAV+C,EAAE,OAAO;EACxD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACtR,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -200,7 +200,7 @@ const SemrushBroadMatchKeywordInput = zod.z.object({
|
|
|
200
200
|
"Kd"
|
|
201
201
|
]).describe("Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.").optional()
|
|
202
202
|
});
|
|
203
|
-
const SemrushBroadMatchKeywordOutput = zod.z.object({ data: zod.z.string().describe("The API response data, typically in a text/CSV format, containing the broad match keyword report.").nullable() }).describe("Response schema for `BroadMatchKeyword`");
|
|
203
|
+
const SemrushBroadMatchKeywordOutput = zod.z.object({ data: zod.z.string().describe("The API response data, typically in a text/CSV format, containing the broad match keyword report.").nullable() }).passthrough().describe("Response schema for `BroadMatchKeyword`");
|
|
204
204
|
const semrushBroadMatchKeyword = require_action.action("SEMRUSH_BROAD_MATCH_KEYWORD", {
|
|
205
205
|
slug: "semrush-broad-match-keyword",
|
|
206
206
|
name: "Broad match keyword",
|