@keystrokehq/semrush 0.1.5 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/account-units-balance.cjs +1 -0
- package/dist/actions/account-units-balance.cjs.map +1 -1
- package/dist/actions/account-units-balance.d.cts +3 -13
- package/dist/actions/account-units-balance.d.cts.map +1 -1
- package/dist/actions/account-units-balance.d.mts +3 -13
- package/dist/actions/account-units-balance.d.mts.map +1 -1
- package/dist/actions/account-units-balance.mjs +1 -0
- package/dist/actions/account-units-balance.mjs.map +1 -1
- package/dist/actions/ads-copies.cjs +1 -0
- package/dist/actions/ads-copies.cjs.map +1 -1
- package/dist/actions/ads-copies.d.cts +4 -24
- package/dist/actions/ads-copies.d.cts.map +1 -1
- package/dist/actions/ads-copies.d.mts +4 -24
- package/dist/actions/ads-copies.d.mts.map +1 -1
- package/dist/actions/ads-copies.mjs +1 -0
- package/dist/actions/ads-copies.mjs.map +1 -1
- package/dist/actions/anchors.cjs +1 -0
- package/dist/actions/anchors.cjs.map +1 -1
- package/dist/actions/anchors.d.cts +4 -21
- package/dist/actions/anchors.d.cts.map +1 -1
- package/dist/actions/anchors.d.mts +4 -21
- package/dist/actions/anchors.d.mts.map +1 -1
- package/dist/actions/anchors.mjs +1 -0
- package/dist/actions/anchors.mjs.map +1 -1
- package/dist/actions/authority-score-profile.cjs +1 -0
- package/dist/actions/authority-score-profile.cjs.map +1 -1
- package/dist/actions/authority-score-profile.d.cts +4 -17
- package/dist/actions/authority-score-profile.d.cts.map +1 -1
- package/dist/actions/authority-score-profile.d.mts +4 -17
- package/dist/actions/authority-score-profile.d.mts.map +1 -1
- package/dist/actions/authority-score-profile.mjs +1 -0
- package/dist/actions/authority-score-profile.mjs.map +1 -1
- package/dist/actions/backlinks-overview.cjs +1 -0
- package/dist/actions/backlinks-overview.cjs.map +1 -1
- package/dist/actions/backlinks-overview.d.cts +9 -23
- package/dist/actions/backlinks-overview.d.cts.map +1 -1
- package/dist/actions/backlinks-overview.d.mts +9 -23
- package/dist/actions/backlinks-overview.d.mts.map +1 -1
- package/dist/actions/backlinks-overview.mjs +1 -0
- package/dist/actions/backlinks-overview.mjs.map +1 -1
- package/dist/actions/backlinks.cjs +1 -0
- package/dist/actions/backlinks.cjs.map +1 -1
- package/dist/actions/backlinks.d.cts +4 -22
- package/dist/actions/backlinks.d.cts.map +1 -1
- package/dist/actions/backlinks.d.mts +4 -22
- package/dist/actions/backlinks.d.mts.map +1 -1
- package/dist/actions/backlinks.mjs +1 -0
- package/dist/actions/backlinks.mjs.map +1 -1
- package/dist/actions/batch-comparison.cjs +1 -0
- package/dist/actions/batch-comparison.cjs.map +1 -1
- package/dist/actions/batch-comparison.d.cts +4 -18
- package/dist/actions/batch-comparison.d.cts.map +1 -1
- package/dist/actions/batch-comparison.d.mts +4 -18
- package/dist/actions/batch-comparison.d.mts.map +1 -1
- package/dist/actions/batch-comparison.mjs +1 -0
- package/dist/actions/batch-comparison.mjs.map +1 -1
- package/dist/actions/batch-keyword-overview.cjs +1 -0
- package/dist/actions/batch-keyword-overview.cjs.map +1 -1
- package/dist/actions/batch-keyword-overview.d.cts +5 -23
- package/dist/actions/batch-keyword-overview.d.cts.map +1 -1
- package/dist/actions/batch-keyword-overview.d.mts +5 -23
- package/dist/actions/batch-keyword-overview.d.mts.map +1 -1
- package/dist/actions/batch-keyword-overview.mjs +1 -0
- package/dist/actions/batch-keyword-overview.mjs.map +1 -1
- package/dist/actions/broad-match-keyword.cjs +1 -0
- package/dist/actions/broad-match-keyword.cjs.map +1 -1
- package/dist/actions/broad-match-keyword.d.cts +7 -28
- package/dist/actions/broad-match-keyword.d.cts.map +1 -1
- package/dist/actions/broad-match-keyword.d.mts +7 -28
- package/dist/actions/broad-match-keyword.d.mts.map +1 -1
- package/dist/actions/broad-match-keyword.mjs +1 -0
- package/dist/actions/broad-match-keyword.mjs.map +1 -1
- package/dist/actions/categories-profile.cjs +1 -0
- package/dist/actions/categories-profile.cjs.map +1 -1
- package/dist/actions/categories-profile.d.cts +4 -20
- package/dist/actions/categories-profile.d.cts.map +1 -1
- package/dist/actions/categories-profile.d.mts +4 -20
- package/dist/actions/categories-profile.d.mts.map +1 -1
- package/dist/actions/categories-profile.mjs +1 -0
- package/dist/actions/categories-profile.mjs.map +1 -1
- package/dist/actions/categories.cjs +1 -0
- package/dist/actions/categories.cjs.map +1 -1
- package/dist/actions/categories.d.cts +4 -20
- package/dist/actions/categories.d.cts.map +1 -1
- package/dist/actions/categories.d.mts +4 -20
- package/dist/actions/categories.d.mts.map +1 -1
- package/dist/actions/categories.mjs +1 -0
- package/dist/actions/categories.mjs.map +1 -1
- package/dist/actions/competitors-in-organic-search.cjs +1 -0
- package/dist/actions/competitors-in-organic-search.cjs.map +1 -1
- package/dist/actions/competitors-in-organic-search.d.cts +5 -25
- package/dist/actions/competitors-in-organic-search.d.cts.map +1 -1
- package/dist/actions/competitors-in-organic-search.d.mts +5 -25
- package/dist/actions/competitors-in-organic-search.d.mts.map +1 -1
- package/dist/actions/competitors-in-organic-search.mjs +1 -0
- package/dist/actions/competitors-in-organic-search.mjs.map +1 -1
- package/dist/actions/competitors-in-paid-search.cjs +1 -0
- package/dist/actions/competitors-in-paid-search.cjs.map +1 -1
- package/dist/actions/competitors-in-paid-search.d.cts +5 -25
- package/dist/actions/competitors-in-paid-search.d.cts.map +1 -1
- package/dist/actions/competitors-in-paid-search.d.mts +5 -25
- package/dist/actions/competitors-in-paid-search.d.mts.map +1 -1
- package/dist/actions/competitors-in-paid-search.mjs +1 -0
- package/dist/actions/competitors-in-paid-search.mjs.map +1 -1
- package/dist/actions/competitors.cjs +1 -0
- package/dist/actions/competitors.cjs.map +1 -1
- package/dist/actions/competitors.d.cts +4 -21
- package/dist/actions/competitors.d.cts.map +1 -1
- package/dist/actions/competitors.d.mts +4 -21
- package/dist/actions/competitors.d.mts.map +1 -1
- package/dist/actions/competitors.mjs +1 -0
- package/dist/actions/competitors.mjs.map +1 -1
- package/dist/actions/domain-ad-history.cjs +1 -0
- package/dist/actions/domain-ad-history.cjs.map +1 -1
- package/dist/actions/domain-ad-history.d.cts +4 -23
- package/dist/actions/domain-ad-history.d.cts.map +1 -1
- package/dist/actions/domain-ad-history.d.mts +4 -23
- package/dist/actions/domain-ad-history.d.mts.map +1 -1
- package/dist/actions/domain-ad-history.mjs +1 -0
- package/dist/actions/domain-ad-history.mjs.map +1 -1
- package/dist/actions/domain-organic-pages.cjs +1 -0
- package/dist/actions/domain-organic-pages.cjs.map +1 -1
- package/dist/actions/domain-organic-pages.d.cts +6 -27
- package/dist/actions/domain-organic-pages.d.cts.map +1 -1
- package/dist/actions/domain-organic-pages.d.mts +6 -27
- package/dist/actions/domain-organic-pages.d.mts.map +1 -1
- package/dist/actions/domain-organic-pages.mjs +1 -0
- package/dist/actions/domain-organic-pages.mjs.map +1 -1
- package/dist/actions/domain-organic-search-keywords.cjs +1 -0
- package/dist/actions/domain-organic-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-organic-search-keywords.d.cts +9 -32
- package/dist/actions/domain-organic-search-keywords.d.cts.map +1 -1
- package/dist/actions/domain-organic-search-keywords.d.mts +9 -32
- package/dist/actions/domain-organic-search-keywords.d.mts.map +1 -1
- package/dist/actions/domain-organic-search-keywords.mjs +1 -0
- package/dist/actions/domain-organic-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-organic-subdomains.cjs +1 -0
- package/dist/actions/domain-organic-subdomains.cjs.map +1 -1
- package/dist/actions/domain-organic-subdomains.d.cts +5 -25
- package/dist/actions/domain-organic-subdomains.d.cts.map +1 -1
- package/dist/actions/domain-organic-subdomains.d.mts +5 -25
- package/dist/actions/domain-organic-subdomains.d.mts.map +1 -1
- package/dist/actions/domain-organic-subdomains.mjs +1 -0
- package/dist/actions/domain-organic-subdomains.mjs.map +1 -1
- package/dist/actions/domain-paid-search-keywords.cjs +1 -0
- package/dist/actions/domain-paid-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-paid-search-keywords.d.cts +5 -27
- package/dist/actions/domain-paid-search-keywords.d.cts.map +1 -1
- package/dist/actions/domain-paid-search-keywords.d.mts +5 -27
- package/dist/actions/domain-paid-search-keywords.d.mts.map +1 -1
- package/dist/actions/domain-paid-search-keywords.mjs +1 -0
- package/dist/actions/domain-paid-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-pla-search-keywords.cjs +1 -0
- package/dist/actions/domain-pla-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-pla-search-keywords.d.cts +4 -24
- package/dist/actions/domain-pla-search-keywords.d.cts.map +1 -1
- package/dist/actions/domain-pla-search-keywords.d.mts +4 -24
- package/dist/actions/domain-pla-search-keywords.d.mts.map +1 -1
- package/dist/actions/domain-pla-search-keywords.mjs +1 -0
- package/dist/actions/domain-pla-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-vs-domain.cjs +1 -0
- package/dist/actions/domain-vs-domain.cjs.map +1 -1
- package/dist/actions/domain-vs-domain.d.cts +5 -26
- package/dist/actions/domain-vs-domain.d.cts.map +1 -1
- package/dist/actions/domain-vs-domain.d.mts +5 -26
- package/dist/actions/domain-vs-domain.d.mts.map +1 -1
- package/dist/actions/domain-vs-domain.mjs +1 -0
- package/dist/actions/domain-vs-domain.mjs.map +1 -1
- package/dist/actions/historical-data.cjs +1 -0
- package/dist/actions/historical-data.cjs.map +1 -1
- package/dist/actions/historical-data.d.cts +3 -19
- package/dist/actions/historical-data.d.cts.map +1 -1
- package/dist/actions/historical-data.d.mts +3 -19
- package/dist/actions/historical-data.d.mts.map +1 -1
- package/dist/actions/historical-data.mjs +1 -0
- package/dist/actions/historical-data.mjs.map +1 -1
- package/dist/actions/indexed-pages.cjs +1 -0
- package/dist/actions/indexed-pages.cjs.map +1 -1
- package/dist/actions/indexed-pages.d.cts +4 -21
- package/dist/actions/indexed-pages.d.cts.map +1 -1
- package/dist/actions/indexed-pages.d.mts +4 -21
- package/dist/actions/indexed-pages.d.mts.map +1 -1
- package/dist/actions/indexed-pages.mjs +1 -0
- package/dist/actions/indexed-pages.mjs.map +1 -1
- package/dist/actions/keyword-difficulty.cjs +1 -0
- package/dist/actions/keyword-difficulty.cjs.map +1 -1
- package/dist/actions/keyword-difficulty.d.cts +4 -19
- package/dist/actions/keyword-difficulty.d.cts.map +1 -1
- package/dist/actions/keyword-difficulty.d.mts +4 -19
- package/dist/actions/keyword-difficulty.d.mts.map +1 -1
- package/dist/actions/keyword-difficulty.mjs +1 -0
- package/dist/actions/keyword-difficulty.mjs.map +1 -1
- package/dist/actions/keyword-overview-all-databases.cjs +1 -0
- package/dist/actions/keyword-overview-all-databases.cjs.map +1 -1
- package/dist/actions/keyword-overview-all-databases.d.cts +5 -21
- package/dist/actions/keyword-overview-all-databases.d.cts.map +1 -1
- package/dist/actions/keyword-overview-all-databases.d.mts +5 -21
- package/dist/actions/keyword-overview-all-databases.d.mts.map +1 -1
- package/dist/actions/keyword-overview-all-databases.mjs +1 -0
- package/dist/actions/keyword-overview-all-databases.mjs.map +1 -1
- package/dist/actions/keyword-overview-one-database.cjs +1 -0
- package/dist/actions/keyword-overview-one-database.cjs.map +1 -1
- package/dist/actions/keyword-overview-one-database.d.cts +5 -22
- package/dist/actions/keyword-overview-one-database.d.cts.map +1 -1
- package/dist/actions/keyword-overview-one-database.d.mts +5 -22
- package/dist/actions/keyword-overview-one-database.d.mts.map +1 -1
- package/dist/actions/keyword-overview-one-database.mjs +1 -0
- package/dist/actions/keyword-overview-one-database.mjs.map +1 -1
- package/dist/actions/keywords-ads-history.cjs +1 -0
- package/dist/actions/keywords-ads-history.cjs.map +1 -1
- package/dist/actions/keywords-ads-history.d.cts +6 -25
- package/dist/actions/keywords-ads-history.d.cts.map +1 -1
- package/dist/actions/keywords-ads-history.d.mts +6 -25
- package/dist/actions/keywords-ads-history.d.mts.map +1 -1
- package/dist/actions/keywords-ads-history.mjs +1 -0
- package/dist/actions/keywords-ads-history.mjs.map +1 -1
- package/dist/actions/organic-results.cjs +1 -0
- package/dist/actions/organic-results.cjs.map +1 -1
- package/dist/actions/organic-results.d.cts +5 -25
- package/dist/actions/organic-results.d.cts.map +1 -1
- package/dist/actions/organic-results.d.mts +5 -25
- package/dist/actions/organic-results.d.mts.map +1 -1
- package/dist/actions/organic-results.mjs +1 -0
- package/dist/actions/organic-results.mjs.map +1 -1
- package/dist/actions/paid-results.cjs +1 -0
- package/dist/actions/paid-results.cjs.map +1 -1
- package/dist/actions/paid-results.d.cts +4 -23
- package/dist/actions/paid-results.d.cts.map +1 -1
- package/dist/actions/paid-results.d.mts +4 -23
- package/dist/actions/paid-results.d.mts.map +1 -1
- package/dist/actions/paid-results.mjs +1 -0
- package/dist/actions/paid-results.mjs.map +1 -1
- package/dist/actions/phrase-questions.cjs +1 -0
- package/dist/actions/phrase-questions.cjs.map +1 -1
- package/dist/actions/phrase-questions.d.cts +5 -25
- package/dist/actions/phrase-questions.d.cts.map +1 -1
- package/dist/actions/phrase-questions.d.mts +5 -25
- package/dist/actions/phrase-questions.d.mts.map +1 -1
- package/dist/actions/phrase-questions.mjs +1 -0
- package/dist/actions/phrase-questions.mjs.map +1 -1
- package/dist/actions/pla-competitors.cjs +1 -0
- package/dist/actions/pla-competitors.cjs.map +1 -1
- package/dist/actions/pla-competitors.d.cts +5 -24
- package/dist/actions/pla-competitors.d.cts.map +1 -1
- package/dist/actions/pla-competitors.d.mts +5 -24
- package/dist/actions/pla-competitors.d.mts.map +1 -1
- package/dist/actions/pla-competitors.mjs +1 -0
- package/dist/actions/pla-competitors.mjs.map +1 -1
- package/dist/actions/pla-copies.cjs +1 -0
- package/dist/actions/pla-copies.cjs.map +1 -1
- package/dist/actions/pla-copies.d.cts +4 -24
- package/dist/actions/pla-copies.d.cts.map +1 -1
- package/dist/actions/pla-copies.d.mts +4 -24
- package/dist/actions/pla-copies.d.mts.map +1 -1
- package/dist/actions/pla-copies.mjs +1 -0
- package/dist/actions/pla-copies.mjs.map +1 -1
- package/dist/actions/referring-domains-by-country.cjs +1 -0
- package/dist/actions/referring-domains-by-country.cjs.map +1 -1
- package/dist/actions/referring-domains-by-country.d.cts +4 -21
- package/dist/actions/referring-domains-by-country.d.cts.map +1 -1
- package/dist/actions/referring-domains-by-country.d.mts +4 -21
- package/dist/actions/referring-domains-by-country.d.mts.map +1 -1
- package/dist/actions/referring-domains-by-country.mjs +1 -0
- package/dist/actions/referring-domains-by-country.mjs.map +1 -1
- package/dist/actions/referring-domains.cjs +1 -0
- package/dist/actions/referring-domains.cjs.map +1 -1
- package/dist/actions/referring-domains.d.cts +4 -22
- package/dist/actions/referring-domains.d.cts.map +1 -1
- package/dist/actions/referring-domains.d.mts +4 -22
- package/dist/actions/referring-domains.d.mts.map +1 -1
- package/dist/actions/referring-domains.mjs +1 -0
- package/dist/actions/referring-domains.mjs.map +1 -1
- package/dist/actions/referring-i-ps.cjs +1 -0
- package/dist/actions/referring-i-ps.cjs.map +1 -1
- package/dist/actions/referring-i-ps.d.cts +4 -21
- package/dist/actions/referring-i-ps.d.cts.map +1 -1
- package/dist/actions/referring-i-ps.d.mts +4 -21
- package/dist/actions/referring-i-ps.d.mts.map +1 -1
- package/dist/actions/referring-i-ps.mjs +1 -0
- package/dist/actions/referring-i-ps.mjs.map +1 -1
- package/dist/actions/related-keywords.cjs +1 -0
- package/dist/actions/related-keywords.cjs.map +1 -1
- package/dist/actions/related-keywords.d.cts +7 -28
- package/dist/actions/related-keywords.d.cts.map +1 -1
- package/dist/actions/related-keywords.d.mts +7 -28
- package/dist/actions/related-keywords.d.mts.map +1 -1
- package/dist/actions/related-keywords.mjs +1 -0
- package/dist/actions/related-keywords.mjs.map +1 -1
- package/dist/actions/tld-distribution.cjs +1 -0
- package/dist/actions/tld-distribution.cjs.map +1 -1
- package/dist/actions/tld-distribution.d.cts +4 -21
- package/dist/actions/tld-distribution.d.cts.map +1 -1
- package/dist/actions/tld-distribution.d.mts +4 -21
- package/dist/actions/tld-distribution.d.mts.map +1 -1
- package/dist/actions/tld-distribution.mjs +1 -0
- package/dist/actions/tld-distribution.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { semrush } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/batch-keyword-overview.d.ts
|
|
@@ -6,6 +8,7 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
6
8
|
database: z.ZodEnum<{
|
|
7
9
|
at: "at";
|
|
8
10
|
id: "id";
|
|
11
|
+
in: "in";
|
|
9
12
|
us: "us";
|
|
10
13
|
uk: "uk";
|
|
11
14
|
ca: "ca";
|
|
@@ -32,7 +35,6 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
32
35
|
sg: "sg";
|
|
33
36
|
tr: "tr";
|
|
34
37
|
jp: "jp";
|
|
35
|
-
in: "in";
|
|
36
38
|
hu: "hu";
|
|
37
39
|
af: "af";
|
|
38
40
|
al: "al";
|
|
@@ -160,36 +162,16 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
160
162
|
Cp: "Cp";
|
|
161
163
|
Co: "Co";
|
|
162
164
|
Nr: "Nr";
|
|
163
|
-
Kd: "Kd";
|
|
164
165
|
Td: "Td";
|
|
165
166
|
In: "In";
|
|
167
|
+
Kd: "Kd";
|
|
166
168
|
}>>>>;
|
|
167
169
|
}, z.core.$loose>;
|
|
168
170
|
declare const SemrushBatchKeywordOverviewOutput: z.ZodObject<{
|
|
169
171
|
keyword_data: z.ZodNullable<z.ZodString>;
|
|
170
172
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
173
|
}, z.core.$loose>;
|
|
172
|
-
declare const semrushBatchKeywordOverview:
|
|
173
|
-
[x: string]: unknown;
|
|
174
|
-
phrase: string;
|
|
175
|
-
database: "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
176
|
-
display_date?: string | undefined;
|
|
177
|
-
export_decode?: 0 | 1 | undefined;
|
|
178
|
-
export_escape?: 0 | 1 | undefined;
|
|
179
|
-
export_columns?: ("Ph" | "Nq" | "Cp" | "Co" | "Nr" | "Kd" | "Td" | "In")[] | undefined;
|
|
180
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
181
|
-
connectionId: z.ZodString;
|
|
182
|
-
entityId: z.ZodString;
|
|
183
|
-
instanceId: z.ZodString;
|
|
184
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
185
|
-
generic_api_key: z.ZodString;
|
|
186
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
187
|
-
connectionId: z.ZodString;
|
|
188
|
-
entityId: z.ZodString;
|
|
189
|
-
instanceId: z.ZodString;
|
|
190
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
-
generic_api_key: z.ZodString;
|
|
192
|
-
}, z.core.$strip>>]>;
|
|
174
|
+
declare const semrushBatchKeywordOverview: AppAction<typeof SemrushBatchKeywordOverviewInput, typeof SemrushBatchKeywordOverviewOutput, typeof semrush.credential>;
|
|
193
175
|
//#endregion
|
|
194
176
|
export { semrushBatchKeywordOverview };
|
|
195
177
|
//# sourceMappingURL=batch-keyword-overview.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-keyword-overview.d.cts","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"batch-keyword-overview.d.cts","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { semrush } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/batch-keyword-overview.d.ts
|
|
@@ -6,6 +8,7 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
6
8
|
database: z.ZodEnum<{
|
|
7
9
|
at: "at";
|
|
8
10
|
id: "id";
|
|
11
|
+
in: "in";
|
|
9
12
|
us: "us";
|
|
10
13
|
uk: "uk";
|
|
11
14
|
ca: "ca";
|
|
@@ -32,7 +35,6 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
32
35
|
sg: "sg";
|
|
33
36
|
tr: "tr";
|
|
34
37
|
jp: "jp";
|
|
35
|
-
in: "in";
|
|
36
38
|
hu: "hu";
|
|
37
39
|
af: "af";
|
|
38
40
|
al: "al";
|
|
@@ -160,36 +162,16 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
|
|
|
160
162
|
Cp: "Cp";
|
|
161
163
|
Co: "Co";
|
|
162
164
|
Nr: "Nr";
|
|
163
|
-
Kd: "Kd";
|
|
164
165
|
Td: "Td";
|
|
165
166
|
In: "In";
|
|
167
|
+
Kd: "Kd";
|
|
166
168
|
}>>>>;
|
|
167
169
|
}, z.core.$loose>;
|
|
168
170
|
declare const SemrushBatchKeywordOverviewOutput: z.ZodObject<{
|
|
169
171
|
keyword_data: z.ZodNullable<z.ZodString>;
|
|
170
172
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
173
|
}, z.core.$loose>;
|
|
172
|
-
declare const semrushBatchKeywordOverview:
|
|
173
|
-
[x: string]: unknown;
|
|
174
|
-
phrase: string;
|
|
175
|
-
database: "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
176
|
-
display_date?: string | undefined;
|
|
177
|
-
export_decode?: 0 | 1 | undefined;
|
|
178
|
-
export_escape?: 0 | 1 | undefined;
|
|
179
|
-
export_columns?: ("Ph" | "Nq" | "Cp" | "Co" | "Nr" | "Kd" | "Td" | "In")[] | undefined;
|
|
180
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
181
|
-
connectionId: z.ZodString;
|
|
182
|
-
entityId: z.ZodString;
|
|
183
|
-
instanceId: z.ZodString;
|
|
184
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
185
|
-
generic_api_key: z.ZodString;
|
|
186
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
187
|
-
connectionId: z.ZodString;
|
|
188
|
-
entityId: z.ZodString;
|
|
189
|
-
instanceId: z.ZodString;
|
|
190
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
-
generic_api_key: z.ZodString;
|
|
192
|
-
}, z.core.$strip>>]>;
|
|
174
|
+
declare const semrushBatchKeywordOverview: AppAction<typeof SemrushBatchKeywordOverviewInput, typeof SemrushBatchKeywordOverviewOutput, typeof semrush.credential>;
|
|
193
175
|
//#endregion
|
|
194
176
|
export { semrushBatchKeywordOverview };
|
|
195
177
|
//# sourceMappingURL=batch-keyword-overview.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-keyword-overview.d.mts","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"batch-keyword-overview.d.mts","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"batch-keyword-overview.mjs","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\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: AppAction<\n typeof SemrushBatchKeywordOverviewInput,\n typeof SemrushBatchKeywordOverviewOutput,\n typeof semrush.credential\n> = 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":";;;AAmBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB8C,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,YAcM;CACP,QAd+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,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"broad-match-keyword.cjs","names":["z","action"],"sources":["../../src/actions/broad-match-keyword.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBroadMatchKeywordInput = z.object({\n phrase: z.string().describe(\"Keyword, phrase, or expression to investigate for broad matches and alternative search queries.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\") for historical data. If omitted or empty, most recent data is returned.\").optional(),\n display_sort: z.enum([\"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"kd_asc\", \"kd_desc\"]).default(\"nq_desc\").describe(\"Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), returns a raw text response; 0 for a URL-encoded string.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Wc\", \"Fk\", \"Kd\"])).default([]).describe(\"Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip from the beginning of the list for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"Fk\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"Fk\",\"In\",\"Kd\"]).describe(\"Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.\").optional(),\n});\nexport const SemrushBroadMatchKeywordOutput = z.object({\n data: z.string().describe(\"The API response data, typically in a text/CSV format, containing the broad match keyword report.\").nullable(),\n}).passthrough().describe(\"Response schema for `BroadMatchKeyword`\");\n\nexport const semrushBroadMatchKeyword = action(\"SEMRUSH_BROAD_MATCH_KEYWORD\", {\n slug: \"semrush-broad-match-keyword\",\n name: \"Broad match keyword\",\n description: \"Fetches broad match keywords for a given phrase. Response is CSV-like text (not JSON); parse by splitting on line breaks and delimiters. `display_sort` and `display_filter` parameters are defined but currently not utilized by the API call.\",\n input: SemrushBroadMatchKeywordInput,\n output: SemrushBroadMatchKeywordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"broad-match-keyword.cjs","names":["z","action"],"sources":["../../src/actions/broad-match-keyword.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const SemrushBroadMatchKeywordInput = z.object({\n phrase: z.string().describe(\"Keyword, phrase, or expression to investigate for broad matches and alternative search queries.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\") for historical data. If omitted or empty, most recent data is returned.\").optional(),\n display_sort: z.enum([\"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"kd_asc\", \"kd_desc\"]).default(\"nq_desc\").describe(\"Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), returns a raw text response; 0 for a URL-encoded string.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Wc\", \"Fk\", \"Kd\"])).default([]).describe(\"Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip from the beginning of the list for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"Fk\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"Fk\",\"In\",\"Kd\"]).describe(\"Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.\").optional(),\n});\nexport const SemrushBroadMatchKeywordOutput = z.object({\n data: z.string().describe(\"The API response data, typically in a text/CSV format, containing the broad match keyword report.\").nullable(),\n}).passthrough().describe(\"Response schema for `BroadMatchKeyword`\");\n\nexport const semrushBroadMatchKeyword: AppAction<\n typeof SemrushBroadMatchKeywordInput,\n typeof SemrushBroadMatchKeywordOutput,\n typeof semrush.credential\n> = action(\"SEMRUSH_BROAD_MATCH_KEYWORD\", {\n slug: \"semrush-broad-match-keyword\",\n name: \"Broad match keyword\",\n description: \"Fetches broad match keywords for a given phrase. Response is CSV-like text (not JSON); parse by splitting on line breaks and delimiters. `display_sort` and `display_filter` parameters are defined but currently not utilized by the API call.\",\n input: SemrushBroadMatchKeywordInput,\n output: SemrushBroadMatchKeywordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC7H,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,iGAAiG;CACvoC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACvK,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;EAAU;EAAW;EAAU;EAAW;EAAU;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzP,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,mGAAmG,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,0EAA0E,CAAC,CAAC,SAAS;CAC9J,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACpL,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACpO,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC1I,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;AAC9R,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { semrush } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/broad-match-keyword.d.ts
|
|
@@ -6,6 +8,7 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
|
|
|
6
8
|
database: z.ZodEnum<{
|
|
7
9
|
at: "at";
|
|
8
10
|
id: "id";
|
|
11
|
+
in: "in";
|
|
9
12
|
us: "us";
|
|
10
13
|
uk: "uk";
|
|
11
14
|
ca: "ca";
|
|
@@ -32,7 +35,6 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
|
|
|
32
35
|
sg: "sg";
|
|
33
36
|
tr: "tr";
|
|
34
37
|
jp: "jp";
|
|
35
|
-
in: "in";
|
|
36
38
|
hu: "hu";
|
|
37
39
|
af: "af";
|
|
38
40
|
al: "al";
|
|
@@ -173,9 +175,9 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
|
|
|
173
175
|
Cp: "Cp";
|
|
174
176
|
Co: "Co";
|
|
175
177
|
Nr: "Nr";
|
|
178
|
+
Kd: "Kd";
|
|
176
179
|
Wc: "Wc";
|
|
177
180
|
Fk: "Fk";
|
|
178
|
-
Kd: "Kd";
|
|
179
181
|
}>>>>;
|
|
180
182
|
display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
181
183
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -184,39 +186,16 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
|
|
|
184
186
|
Cp: "Cp";
|
|
185
187
|
Co: "Co";
|
|
186
188
|
Nr: "Nr";
|
|
187
|
-
Fk: "Fk";
|
|
188
|
-
Kd: "Kd";
|
|
189
189
|
Td: "Td";
|
|
190
190
|
In: "In";
|
|
191
|
+
Kd: "Kd";
|
|
192
|
+
Fk: "Fk";
|
|
191
193
|
}>>>>;
|
|
192
194
|
}, z.core.$strip>;
|
|
193
195
|
declare const SemrushBroadMatchKeywordOutput: z.ZodObject<{
|
|
194
196
|
data: z.ZodNullable<z.ZodString>;
|
|
195
197
|
}, z.core.$loose>;
|
|
196
|
-
declare const semrushBroadMatchKeyword:
|
|
197
|
-
phrase: string;
|
|
198
|
-
database: "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
199
|
-
display_date?: string | undefined;
|
|
200
|
-
display_sort?: "nq_asc" | "nq_desc" | "cp_asc" | "cp_desc" | "co_asc" | "co_desc" | "nr_asc" | "nr_desc" | "kd_asc" | "kd_desc" | undefined;
|
|
201
|
-
display_limit?: number | undefined;
|
|
202
|
-
export_decode?: 0 | 1 | undefined;
|
|
203
|
-
export_escape?: 0 | 1 | undefined;
|
|
204
|
-
display_filter?: ("Ph" | "Nq" | "Cp" | "Co" | "Nr" | "Wc" | "Fk" | "Kd")[] | undefined;
|
|
205
|
-
display_offset?: number | undefined;
|
|
206
|
-
export_columns?: ("Ph" | "Nq" | "Cp" | "Co" | "Nr" | "Fk" | "Kd" | "Td" | "In")[] | undefined;
|
|
207
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
208
|
-
connectionId: z.ZodString;
|
|
209
|
-
entityId: z.ZodString;
|
|
210
|
-
instanceId: z.ZodString;
|
|
211
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
212
|
-
generic_api_key: z.ZodString;
|
|
213
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
214
|
-
connectionId: z.ZodString;
|
|
215
|
-
entityId: z.ZodString;
|
|
216
|
-
instanceId: z.ZodString;
|
|
217
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
-
generic_api_key: z.ZodString;
|
|
219
|
-
}, z.core.$strip>>]>;
|
|
198
|
+
declare const semrushBroadMatchKeyword: AppAction<typeof SemrushBroadMatchKeywordInput, typeof SemrushBroadMatchKeywordOutput, typeof semrush.credential>;
|
|
220
199
|
//#endregion
|
|
221
200
|
export { semrushBroadMatchKeyword };
|
|
222
201
|
//# sourceMappingURL=broad-match-keyword.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"broad-match-keyword.d.cts","names":[],"sources":["../../src/actions/broad-match-keyword.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"broad-match-keyword.d.cts","names":[],"sources":["../../src/actions/broad-match-keyword.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { semrush } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/broad-match-keyword.d.ts
|
|
@@ -6,6 +8,7 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
|
|
|
6
8
|
database: z.ZodEnum<{
|
|
7
9
|
at: "at";
|
|
8
10
|
id: "id";
|
|
11
|
+
in: "in";
|
|
9
12
|
us: "us";
|
|
10
13
|
uk: "uk";
|
|
11
14
|
ca: "ca";
|
|
@@ -32,7 +35,6 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
|
|
|
32
35
|
sg: "sg";
|
|
33
36
|
tr: "tr";
|
|
34
37
|
jp: "jp";
|
|
35
|
-
in: "in";
|
|
36
38
|
hu: "hu";
|
|
37
39
|
af: "af";
|
|
38
40
|
al: "al";
|
|
@@ -173,9 +175,9 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
|
|
|
173
175
|
Cp: "Cp";
|
|
174
176
|
Co: "Co";
|
|
175
177
|
Nr: "Nr";
|
|
178
|
+
Kd: "Kd";
|
|
176
179
|
Wc: "Wc";
|
|
177
180
|
Fk: "Fk";
|
|
178
|
-
Kd: "Kd";
|
|
179
181
|
}>>>>;
|
|
180
182
|
display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
181
183
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -184,39 +186,16 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
|
|
|
184
186
|
Cp: "Cp";
|
|
185
187
|
Co: "Co";
|
|
186
188
|
Nr: "Nr";
|
|
187
|
-
Fk: "Fk";
|
|
188
|
-
Kd: "Kd";
|
|
189
189
|
Td: "Td";
|
|
190
190
|
In: "In";
|
|
191
|
+
Kd: "Kd";
|
|
192
|
+
Fk: "Fk";
|
|
191
193
|
}>>>>;
|
|
192
194
|
}, z.core.$strip>;
|
|
193
195
|
declare const SemrushBroadMatchKeywordOutput: z.ZodObject<{
|
|
194
196
|
data: z.ZodNullable<z.ZodString>;
|
|
195
197
|
}, z.core.$loose>;
|
|
196
|
-
declare const semrushBroadMatchKeyword:
|
|
197
|
-
phrase: string;
|
|
198
|
-
database: "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
199
|
-
display_date?: string | undefined;
|
|
200
|
-
display_sort?: "nq_asc" | "nq_desc" | "cp_asc" | "cp_desc" | "co_asc" | "co_desc" | "nr_asc" | "nr_desc" | "kd_asc" | "kd_desc" | undefined;
|
|
201
|
-
display_limit?: number | undefined;
|
|
202
|
-
export_decode?: 0 | 1 | undefined;
|
|
203
|
-
export_escape?: 0 | 1 | undefined;
|
|
204
|
-
display_filter?: ("Ph" | "Nq" | "Cp" | "Co" | "Nr" | "Wc" | "Fk" | "Kd")[] | undefined;
|
|
205
|
-
display_offset?: number | undefined;
|
|
206
|
-
export_columns?: ("Ph" | "Nq" | "Cp" | "Co" | "Nr" | "Fk" | "Kd" | "Td" | "In")[] | undefined;
|
|
207
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
208
|
-
connectionId: z.ZodString;
|
|
209
|
-
entityId: z.ZodString;
|
|
210
|
-
instanceId: z.ZodString;
|
|
211
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
212
|
-
generic_api_key: z.ZodString;
|
|
213
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
214
|
-
connectionId: z.ZodString;
|
|
215
|
-
entityId: z.ZodString;
|
|
216
|
-
instanceId: z.ZodString;
|
|
217
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
-
generic_api_key: z.ZodString;
|
|
219
|
-
}, z.core.$strip>>]>;
|
|
198
|
+
declare const semrushBroadMatchKeyword: AppAction<typeof SemrushBroadMatchKeywordInput, typeof SemrushBroadMatchKeywordOutput, typeof semrush.credential>;
|
|
220
199
|
//#endregion
|
|
221
200
|
export { semrushBroadMatchKeyword };
|
|
222
201
|
//# sourceMappingURL=broad-match-keyword.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"broad-match-keyword.d.mts","names":[],"sources":["../../src/actions/broad-match-keyword.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"broad-match-keyword.d.mts","names":[],"sources":["../../src/actions/broad-match-keyword.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"broad-match-keyword.mjs","names":[],"sources":["../../src/actions/broad-match-keyword.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBroadMatchKeywordInput = z.object({\n phrase: z.string().describe(\"Keyword, phrase, or expression to investigate for broad matches and alternative search queries.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\") for historical data. If omitted or empty, most recent data is returned.\").optional(),\n display_sort: z.enum([\"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"kd_asc\", \"kd_desc\"]).default(\"nq_desc\").describe(\"Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), returns a raw text response; 0 for a URL-encoded string.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Wc\", \"Fk\", \"Kd\"])).default([]).describe(\"Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip from the beginning of the list for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"Fk\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"Fk\",\"In\",\"Kd\"]).describe(\"Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.\").optional(),\n});\nexport const SemrushBroadMatchKeywordOutput = z.object({\n data: z.string().describe(\"The API response data, typically in a text/CSV format, containing the broad match keyword report.\").nullable(),\n}).passthrough().describe(\"Response schema for `BroadMatchKeyword`\");\n\nexport const semrushBroadMatchKeyword = action(\"SEMRUSH_BROAD_MATCH_KEYWORD\", {\n slug: \"semrush-broad-match-keyword\",\n name: \"Broad match keyword\",\n description: \"Fetches broad match keywords for a given phrase. Response is CSV-like text (not JSON); parse by splitting on line breaks and delimiters. `display_sort` and `display_filter` parameters are defined but currently not utilized by the API call.\",\n input: SemrushBroadMatchKeywordInput,\n output: SemrushBroadMatchKeywordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"broad-match-keyword.mjs","names":[],"sources":["../../src/actions/broad-match-keyword.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const SemrushBroadMatchKeywordInput = z.object({\n phrase: z.string().describe(\"Keyword, phrase, or expression to investigate for broad matches and alternative search queries.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\") for historical data. If omitted or empty, most recent data is returned.\").optional(),\n display_sort: z.enum([\"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"kd_asc\", \"kd_desc\"]).default(\"nq_desc\").describe(\"Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), returns a raw text response; 0 for a URL-encoded string.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Wc\", \"Fk\", \"Kd\"])).default([]).describe(\"Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip from the beginning of the list for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"Fk\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"Fk\",\"In\",\"Kd\"]).describe(\"Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.\").optional(),\n});\nexport const SemrushBroadMatchKeywordOutput = z.object({\n data: z.string().describe(\"The API response data, typically in a text/CSV format, containing the broad match keyword report.\").nullable(),\n}).passthrough().describe(\"Response schema for `BroadMatchKeyword`\");\n\nexport const semrushBroadMatchKeyword: AppAction<\n typeof SemrushBroadMatchKeywordInput,\n typeof SemrushBroadMatchKeywordOutput,\n typeof semrush.credential\n> = action(\"SEMRUSH_BROAD_MATCH_KEYWORD\", {\n slug: \"semrush-broad-match-keyword\",\n name: \"Broad match keyword\",\n description: \"Fetches broad match keywords for a given phrase. Response is CSV-like text (not JSON); parse by splitting on line breaks and delimiters. `display_sort` and `display_filter` parameters are defined but currently not utilized by the API call.\",\n input: SemrushBroadMatchKeywordInput,\n output: SemrushBroadMatchKeywordOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories-profile.cjs","names":["z","action"],"sources":["../../src/actions/categories-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushCategoriesProfileInput = z.object({\n target: z.string().describe(\"The target URL, domain, or root domain for which to retrieve categories profile data.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Type of the target.\"),\n display_limit: z.number().int().default(0).describe(\"Maximum results to return. If 0 (default), 10,000 lines are returned. Max: 1,000,000.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip; `display_limit` should be `offset + desired_results` (e.g., for 100 results from 51st, `display_offset=50`, `display_limit=150`).\").optional(),\n export_columns: z.array(z.enum([\"category_name\", \"rating\"])).default([\"category_name\",\"rating\"]).describe(\"Columns to include in the report; defaults to all available columns.\").optional(),\n}).describe(\"Request schema for `CategoriesProfile`\");\nexport const SemrushCategoriesProfileOutput = z.object({\n data: z.string().describe(\"The categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.\").nullable(),\n}).passthrough().describe(\"Response schema for `CategoriesProfile`\");\n\nexport const semrushCategoriesProfile = action(\"SEMRUSH_CATEGORIES_PROFILE\", {\n slug: \"semrush-categories-profile\",\n name: \"Get categories profile\",\n description: \"Retrieves a profile of content categories from referring domains for a specified target, analyzing its first 10,000 referring domains and sorting results by domain count.\",\n input: SemrushCategoriesProfileInput,\n output: SemrushCategoriesProfileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"categories-profile.cjs","names":["z","action"],"sources":["../../src/actions/categories-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const SemrushCategoriesProfileInput = z.object({\n target: z.string().describe(\"The target URL, domain, or root domain for which to retrieve categories profile data.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Type of the target.\"),\n display_limit: z.number().int().default(0).describe(\"Maximum results to return. If 0 (default), 10,000 lines are returned. Max: 1,000,000.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip; `display_limit` should be `offset + desired_results` (e.g., for 100 results from 51st, `display_offset=50`, `display_limit=150`).\").optional(),\n export_columns: z.array(z.enum([\"category_name\", \"rating\"])).default([\"category_name\",\"rating\"]).describe(\"Columns to include in the report; defaults to all available columns.\").optional(),\n}).describe(\"Request schema for `CategoriesProfile`\");\nexport const SemrushCategoriesProfileOutput = z.object({\n data: z.string().describe(\"The categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.\").nullable(),\n}).passthrough().describe(\"Response schema for `CategoriesProfile`\");\n\nexport const semrushCategoriesProfile: AppAction<\n typeof SemrushCategoriesProfileInput,\n typeof SemrushCategoriesProfileOutput,\n typeof semrush.credential\n> = action(\"SEMRUSH_CATEGORIES_PROFILE\", {\n slug: \"semrush-categories-profile\",\n name: \"Get categories profile\",\n description: \"Retrieves a profile of content categories from referring domains for a specified target, analyzing its first 10,000 referring domains and sorting results by domain count.\",\n input: SemrushCategoriesProfileInput,\n output: SemrushCategoriesProfileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACnH,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,qBAAqB;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;CACtO,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,iBAAiB,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,iBAAgB,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS,EAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { semrush } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/categories-profile.d.ts
|
|
4
6
|
declare const SemrushCategoriesProfileInput: z.ZodObject<{
|
|
5
7
|
target: z.ZodString;
|
|
6
8
|
target_type: z.ZodEnum<{
|
|
7
|
-
domain: "domain";
|
|
8
9
|
root_domain: "root_domain";
|
|
10
|
+
domain: "domain";
|
|
9
11
|
url: "url";
|
|
10
12
|
}>;
|
|
11
13
|
display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -18,25 +20,7 @@ declare const SemrushCategoriesProfileInput: z.ZodObject<{
|
|
|
18
20
|
declare const SemrushCategoriesProfileOutput: z.ZodObject<{
|
|
19
21
|
data: z.ZodNullable<z.ZodString>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const semrushCategoriesProfile:
|
|
22
|
-
target: string;
|
|
23
|
-
target_type: "domain" | "root_domain" | "url";
|
|
24
|
-
display_limit?: number | undefined;
|
|
25
|
-
display_offset?: number | undefined;
|
|
26
|
-
export_columns?: ("category_name" | "rating")[] | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const semrushCategoriesProfile: AppAction<typeof SemrushCategoriesProfileInput, typeof SemrushCategoriesProfileOutput, typeof semrush.credential>;
|
|
40
24
|
//#endregion
|
|
41
25
|
export { semrushCategoriesProfile };
|
|
42
26
|
//# sourceMappingURL=categories-profile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories-profile.d.cts","names":[],"sources":["../../src/actions/categories-profile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"categories-profile.d.cts","names":[],"sources":["../../src/actions/categories-profile.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { semrush } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/categories-profile.d.ts
|
|
4
6
|
declare const SemrushCategoriesProfileInput: z.ZodObject<{
|
|
5
7
|
target: z.ZodString;
|
|
6
8
|
target_type: z.ZodEnum<{
|
|
7
|
-
domain: "domain";
|
|
8
9
|
root_domain: "root_domain";
|
|
10
|
+
domain: "domain";
|
|
9
11
|
url: "url";
|
|
10
12
|
}>;
|
|
11
13
|
display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -18,25 +20,7 @@ declare const SemrushCategoriesProfileInput: z.ZodObject<{
|
|
|
18
20
|
declare const SemrushCategoriesProfileOutput: z.ZodObject<{
|
|
19
21
|
data: z.ZodNullable<z.ZodString>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const semrushCategoriesProfile:
|
|
22
|
-
target: string;
|
|
23
|
-
target_type: "domain" | "root_domain" | "url";
|
|
24
|
-
display_limit?: number | undefined;
|
|
25
|
-
display_offset?: number | undefined;
|
|
26
|
-
export_columns?: ("category_name" | "rating")[] | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const semrushCategoriesProfile: AppAction<typeof SemrushCategoriesProfileInput, typeof SemrushCategoriesProfileOutput, typeof semrush.credential>;
|
|
40
24
|
//#endregion
|
|
41
25
|
export { semrushCategoriesProfile };
|
|
42
26
|
//# sourceMappingURL=categories-profile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories-profile.d.mts","names":[],"sources":["../../src/actions/categories-profile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"categories-profile.d.mts","names":[],"sources":["../../src/actions/categories-profile.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories-profile.mjs","names":[],"sources":["../../src/actions/categories-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushCategoriesProfileInput = z.object({\n target: z.string().describe(\"The target URL, domain, or root domain for which to retrieve categories profile data.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Type of the target.\"),\n display_limit: z.number().int().default(0).describe(\"Maximum results to return. If 0 (default), 10,000 lines are returned. Max: 1,000,000.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip; `display_limit` should be `offset + desired_results` (e.g., for 100 results from 51st, `display_offset=50`, `display_limit=150`).\").optional(),\n export_columns: z.array(z.enum([\"category_name\", \"rating\"])).default([\"category_name\",\"rating\"]).describe(\"Columns to include in the report; defaults to all available columns.\").optional(),\n}).describe(\"Request schema for `CategoriesProfile`\");\nexport const SemrushCategoriesProfileOutput = z.object({\n data: z.string().describe(\"The categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.\").nullable(),\n}).passthrough().describe(\"Response schema for `CategoriesProfile`\");\n\nexport const semrushCategoriesProfile = action(\"SEMRUSH_CATEGORIES_PROFILE\", {\n slug: \"semrush-categories-profile\",\n name: \"Get categories profile\",\n description: \"Retrieves a profile of content categories from referring domains for a specified target, analyzing its first 10,000 referring domains and sorting results by domain count.\",\n input: SemrushCategoriesProfileInput,\n output: SemrushCategoriesProfileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"categories-profile.mjs","names":[],"sources":["../../src/actions/categories-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const SemrushCategoriesProfileInput = z.object({\n target: z.string().describe(\"The target URL, domain, or root domain for which to retrieve categories profile data.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Type of the target.\"),\n display_limit: z.number().int().default(0).describe(\"Maximum results to return. If 0 (default), 10,000 lines are returned. Max: 1,000,000.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip; `display_limit` should be `offset + desired_results` (e.g., for 100 results from 51st, `display_offset=50`, `display_limit=150`).\").optional(),\n export_columns: z.array(z.enum([\"category_name\", \"rating\"])).default([\"category_name\",\"rating\"]).describe(\"Columns to include in the report; defaults to all available columns.\").optional(),\n}).describe(\"Request schema for `CategoriesProfile`\");\nexport const SemrushCategoriesProfileOutput = z.object({\n data: z.string().describe(\"The categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.\").nullable(),\n}).passthrough().describe(\"Response schema for `CategoriesProfile`\");\n\nexport const semrushCategoriesProfile: AppAction<\n typeof SemrushCategoriesProfileInput,\n typeof SemrushCategoriesProfileOutput,\n typeof semrush.credential\n> = action(\"SEMRUSH_CATEGORIES_PROFILE\", {\n slug: \"semrush-categories-profile\",\n name: \"Get categories profile\",\n description: \"Retrieves a profile of content categories from referring domains for a specified target, analyzing its first 10,000 referring domains and sorting results by domain count.\",\n input: SemrushCategoriesProfileInput,\n output: SemrushCategoriesProfileOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;EACnH,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,qBAAqB;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACtJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;EACtO,gBAAgB,EAAE,MAAM,EAAE,KAAK,CAAC,iBAAiB,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,iBAAgB,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7L,CAAC,CAAC,CAAC,SAAS,wCAaH;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS,EAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|