@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,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushDomainAdHistoryInput: z.ZodObject<{
|
|
5
5
|
domain: 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 SemrushDomainAdHistoryInput: 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 SemrushDomainAdHistoryInput: 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";
|
|
@@ -159,9 +159,9 @@ declare const SemrushDomainAdHistoryInput: z.ZodObject<{
|
|
|
159
159
|
export_escape: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
160
160
|
display_filter: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
161
161
|
Ph: "Ph";
|
|
162
|
-
Tr: "Tr";
|
|
163
162
|
Nq: "Nq";
|
|
164
163
|
Cp: "Cp";
|
|
164
|
+
Tr: "Tr";
|
|
165
165
|
}>>>>;
|
|
166
166
|
display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
167
167
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -170,26 +170,26 @@ declare const SemrushDomainAdHistoryInput: z.ZodObject<{
|
|
|
170
170
|
Vu: "Vu";
|
|
171
171
|
Ph: "Ph";
|
|
172
172
|
Ur: "Ur";
|
|
173
|
-
Tr: "Tr";
|
|
174
173
|
Nq: "Nq";
|
|
175
174
|
Cp: "Cp";
|
|
176
|
-
Dt: "Dt";
|
|
177
175
|
Po: "Po";
|
|
176
|
+
Tr: "Tr";
|
|
177
|
+
Dt: "Dt";
|
|
178
178
|
Cv: "Cv";
|
|
179
179
|
}>>>>;
|
|
180
180
|
}, z.core.$strip>;
|
|
181
181
|
declare const SemrushDomainAdHistoryOutput: z.ZodObject<{
|
|
182
182
|
data: z.ZodNullable<z.ZodString>;
|
|
183
|
-
}, z.core.$
|
|
183
|
+
}, z.core.$loose>;
|
|
184
184
|
declare const semrushDomainAdHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
185
185
|
domain: string;
|
|
186
|
-
database: "
|
|
186
|
+
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";
|
|
187
187
|
display_sort?: "cv_asc" | "cv_desc" | undefined;
|
|
188
188
|
display_limit?: number | undefined;
|
|
189
189
|
export_escape?: 0 | 1 | undefined;
|
|
190
|
-
display_filter?: ("Ph" | "
|
|
190
|
+
display_filter?: ("Ph" | "Nq" | "Cp" | "Tr")[] | undefined;
|
|
191
191
|
display_offset?: number | undefined;
|
|
192
|
-
export_columns?: ("Tt" | "Ds" | "Vu" | "Ph" | "Ur" | "
|
|
192
|
+
export_columns?: ("Tt" | "Ds" | "Vu" | "Ph" | "Ur" | "Nq" | "Cp" | "Po" | "Tr" | "Dt" | "Cv")[] | undefined;
|
|
193
193
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
194
194
|
//#endregion
|
|
195
195
|
export { semrushDomainAdHistory };
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushDomainAdHistoryInput: z.ZodObject<{
|
|
5
5
|
domain: 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 SemrushDomainAdHistoryInput: 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 SemrushDomainAdHistoryInput: 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";
|
|
@@ -159,9 +159,9 @@ declare const SemrushDomainAdHistoryInput: z.ZodObject<{
|
|
|
159
159
|
export_escape: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
160
160
|
display_filter: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
161
161
|
Ph: "Ph";
|
|
162
|
-
Tr: "Tr";
|
|
163
162
|
Nq: "Nq";
|
|
164
163
|
Cp: "Cp";
|
|
164
|
+
Tr: "Tr";
|
|
165
165
|
}>>>>;
|
|
166
166
|
display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
167
167
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -170,26 +170,26 @@ declare const SemrushDomainAdHistoryInput: z.ZodObject<{
|
|
|
170
170
|
Vu: "Vu";
|
|
171
171
|
Ph: "Ph";
|
|
172
172
|
Ur: "Ur";
|
|
173
|
-
Tr: "Tr";
|
|
174
173
|
Nq: "Nq";
|
|
175
174
|
Cp: "Cp";
|
|
176
|
-
Dt: "Dt";
|
|
177
175
|
Po: "Po";
|
|
176
|
+
Tr: "Tr";
|
|
177
|
+
Dt: "Dt";
|
|
178
178
|
Cv: "Cv";
|
|
179
179
|
}>>>>;
|
|
180
180
|
}, z.core.$strip>;
|
|
181
181
|
declare const SemrushDomainAdHistoryOutput: z.ZodObject<{
|
|
182
182
|
data: z.ZodNullable<z.ZodString>;
|
|
183
|
-
}, z.core.$
|
|
183
|
+
}, z.core.$loose>;
|
|
184
184
|
declare const semrushDomainAdHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
185
185
|
domain: string;
|
|
186
|
-
database: "
|
|
186
|
+
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";
|
|
187
187
|
display_sort?: "cv_asc" | "cv_desc" | undefined;
|
|
188
188
|
display_limit?: number | undefined;
|
|
189
189
|
export_escape?: 0 | 1 | undefined;
|
|
190
|
-
display_filter?: ("Ph" | "
|
|
190
|
+
display_filter?: ("Ph" | "Nq" | "Cp" | "Tr")[] | undefined;
|
|
191
191
|
display_offset?: number | undefined;
|
|
192
|
-
export_columns?: ("Tt" | "Ds" | "Vu" | "Ph" | "Ur" | "
|
|
192
|
+
export_columns?: ("Tt" | "Ds" | "Vu" | "Ph" | "Ur" | "Nq" | "Cp" | "Po" | "Tr" | "Dt" | "Cv")[] | undefined;
|
|
193
193
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
194
194
|
//#endregion
|
|
195
195
|
export { semrushDomainAdHistory };
|
|
@@ -190,7 +190,7 @@ const semrushDomainAdHistory = action("SEMRUSH_DOMAIN_AD_HISTORY", {
|
|
|
190
190
|
"Cv"
|
|
191
191
|
]).describe("Data columns to include (e.g., `Ph`, `Dt`). If unspecified, all columns are returned. An empty list may error. Available: Ph (Keyword), Dt (Date), Po (Position), Cp (CPC), Nq (Num. keywords), Tr (Traffic %), Ur (URL), Tt (Ad Title), Ds (Ad Description), Vu (Volume), Cv (Costs %).").optional()
|
|
192
192
|
}).describe("Request schema for DomainAdHistory action. Defines parameters to query domain advertising history."),
|
|
193
|
-
output: z.object({ data: z.string().describe("Raw text response from the API containing the domain advertising history, typically CSV-like, format determined by `export_columns` and `export_escape`.").nullable() }).describe("Response schema for DomainAdHistory action. Contains the retrieved advertising history data.")
|
|
193
|
+
output: z.object({ data: z.string().describe("Raw text response from the API containing the domain advertising history, typically CSV-like, format determined by `export_columns` and `export_escape`.").nullable() }).passthrough().describe("Response schema for DomainAdHistory action. Contains the retrieved advertising history data.")
|
|
194
194
|
});
|
|
195
195
|
//#endregion
|
|
196
196
|
export { semrushDomainAdHistory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-ad-history.mjs","names":[],"sources":["../../src/actions/domain-ad-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushDomainAdHistoryInput = z.object({\n domain: z.string().describe(\"Website name (e.g., 'example.com') to investigate.\"),\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 to use (e.g., 'us'). Link: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases\"),\n display_sort: z.enum([\"cv_asc\", \"cv_desc\"]).default(\"cv_desc\").describe(\"Sort order for results: `cv_asc` (Costs % ascending), `cv_desc` (Costs % descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Number of results for the current request (typically up to 100k). For larger datasets, use with `display_offset`. Cumulative `display_limit` with offset should not exceed 4,000,000.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1, wraps report columns in double quotation marks (\\\"); if 0, no escaping.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Tr\"])).default([]).describe(\"Filters using column identifiers (e.g., `Ph`). Semrush's API may expect `+Column|Operator|Value` format (e.g., `+Ph|Ct|semrush`); consult Semrush documentation. Simplified filterable columns available: Ph (Keyword), Nq (Num. keywords), Cp (CPC), Tr (Traffic %).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip for pagination. When fetching beyond 100k, `display_limit` might need to reflect `current_offset + desired_rows_for_this_page` per Semrush guidance.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Dt\", \"Po\", \"Cp\", \"Nq\", \"Tr\", \"Ur\", \"Tt\", \"Ds\", \"Vu\", \"Cv\"])).default([\"Ph\",\"Dt\",\"Po\",\"Cp\",\"Nq\",\"Tr\",\"Ur\",\"Tt\",\"Ds\",\"Vu\",\"Cv\"]).describe(\"Data columns to include (e.g., `Ph`, `Dt`). If unspecified, all columns are returned. An empty list may error. Available: Ph (Keyword), Dt (Date), Po (Position), Cp (CPC), Nq (Num. keywords), Tr (Traffic %), Ur (URL), Tt (Ad Title), Ds (Ad Description), Vu (Volume), Cv (Costs %).\").optional(),\n}).describe(\"Request schema for DomainAdHistory action. Defines parameters to query domain advertising history.\");\nexport const SemrushDomainAdHistoryOutput = z.object({\n data: z.string().describe(\"Raw text response from the API containing the domain advertising history, typically CSV-like, format determined by `export_columns` and `export_escape`.\").nullable(),\n}).describe(\"Response schema for DomainAdHistory action. Contains the retrieved advertising history data.\");\n\nexport const semrushDomainAdHistory = action(\"SEMRUSH_DOMAIN_AD_HISTORY\", {\n slug: \"semrush-domain-ad-history\",\n name: \"Get domain ad history\",\n description: \"Retrieves a domain's 12-month advertising history from Semrush (keywords bid on, ad positions, ad copy) for PPC strategy and competitor analysis; most effective when the domain has ad history in the selected database.\",\n input: SemrushDomainAdHistoryInput,\n output: SemrushDomainAdHistoryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAChF,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;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K;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;CACtd,CAAC,CAAC,CAAC,SAAS,oGASH;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS,EACjM,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"domain-ad-history.mjs","names":[],"sources":["../../src/actions/domain-ad-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushDomainAdHistoryInput = z.object({\n domain: z.string().describe(\"Website name (e.g., 'example.com') to investigate.\"),\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 to use (e.g., 'us'). Link: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases\"),\n display_sort: z.enum([\"cv_asc\", \"cv_desc\"]).default(\"cv_desc\").describe(\"Sort order for results: `cv_asc` (Costs % ascending), `cv_desc` (Costs % descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Number of results for the current request (typically up to 100k). For larger datasets, use with `display_offset`. Cumulative `display_limit` with offset should not exceed 4,000,000.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1, wraps report columns in double quotation marks (\\\"); if 0, no escaping.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Tr\"])).default([]).describe(\"Filters using column identifiers (e.g., `Ph`). Semrush's API may expect `+Column|Operator|Value` format (e.g., `+Ph|Ct|semrush`); consult Semrush documentation. Simplified filterable columns available: Ph (Keyword), Nq (Num. keywords), Cp (CPC), Tr (Traffic %).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip for pagination. When fetching beyond 100k, `display_limit` might need to reflect `current_offset + desired_rows_for_this_page` per Semrush guidance.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Dt\", \"Po\", \"Cp\", \"Nq\", \"Tr\", \"Ur\", \"Tt\", \"Ds\", \"Vu\", \"Cv\"])).default([\"Ph\",\"Dt\",\"Po\",\"Cp\",\"Nq\",\"Tr\",\"Ur\",\"Tt\",\"Ds\",\"Vu\",\"Cv\"]).describe(\"Data columns to include (e.g., `Ph`, `Dt`). If unspecified, all columns are returned. An empty list may error. Available: Ph (Keyword), Dt (Date), Po (Position), Cp (CPC), Nq (Num. keywords), Tr (Traffic %), Ur (URL), Tt (Ad Title), Ds (Ad Description), Vu (Volume), Cv (Costs %).\").optional(),\n}).describe(\"Request schema for DomainAdHistory action. Defines parameters to query domain advertising history.\");\nexport const SemrushDomainAdHistoryOutput = z.object({\n data: z.string().describe(\"Raw text response from the API containing the domain advertising history, typically CSV-like, format determined by `export_columns` and `export_escape`.\").nullable(),\n}).passthrough().describe(\"Response schema for DomainAdHistory action. Contains the retrieved advertising history data.\");\n\nexport const semrushDomainAdHistory = action(\"SEMRUSH_DOMAIN_AD_HISTORY\", {\n slug: \"semrush-domain-ad-history\",\n name: \"Get domain ad history\",\n description: \"Retrieves a domain's 12-month advertising history from Semrush (keywords bid on, ad positions, ad copy) for PPC strategy and competitor analysis; most effective when the domain has ad history in the selected database.\",\n input: SemrushDomainAdHistoryInput,\n output: SemrushDomainAdHistoryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAChF,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;GAA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AE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,0RAA0R,CAAC,CAAC,SAAS;CACtd,CAAC,CAAC,CAAC,SAAS,oGASH;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS,EACjM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAOhB;AACV,CAAC"}
|
|
@@ -217,7 +217,7 @@ const SemrushDomainOrganicPagesInput = zod.z.object({
|
|
|
217
217
|
"St"
|
|
218
218
|
]).describe("Columns to include in the report. If omitted, all columns from `DomainOrganicPagesExportColumns` are returned.").optional()
|
|
219
219
|
}).describe("Request schema for fetching unique organic pages of a domain.");
|
|
220
|
-
const SemrushDomainOrganicPagesOutput = zod.z.object({ data: zod.z.string().describe("Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.").nullable() }).describe("Response schema for `DomainOrganicPages`.");
|
|
220
|
+
const SemrushDomainOrganicPagesOutput = zod.z.object({ data: zod.z.string().describe("Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.").nullable() }).passthrough().describe("Response schema for `DomainOrganicPages`.");
|
|
221
221
|
const semrushDomainOrganicPages = require_action.action("SEMRUSH_DOMAIN_ORGANIC_PAGES", {
|
|
222
222
|
slug: "semrush-domain-organic-pages",
|
|
223
223
|
name: "Get domain organic pages",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-organic-pages.cjs","names":["z","action"],"sources":["../../src/actions/domain-organic-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushDomainOrganicPagesInput = z.object({\n domain: z.string().describe(\"Domain name to analyze (e.g., 'example.com').\"),\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 analysis (e.g., 'us', 'gb', 'de'). See Semrush API docs for full list.\"),\n display_date: z.string().describe(\"Date for historical data report in YYYYMM15 format (e.g., '20231015'). If omitted, uses most recent data. Day component MUST be 15; any other day value will not return historical data correctly.\").optional(),\n display_sort: z.enum([\"pc_asc\", \"pc_desc\", \"tg_asc\", \"tg_desc\", \"tr_asc\", \"tr_desc\", \"sr_asc\", \"sr_desc\", \"st_asc\", \"st_desc\"]).default(\"pc_desc\").describe(\"Column and order for sorting results (e.g., 'pc_desc' for traffic share descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results to return. For more than 100,000, use with `display_offset`. Large domains may exceed 10,000 rows; results are silently truncated at `display_limit`. Paginate by incrementing `display_offset` until fewer rows than `display_limit` are returned. Avoid unnecessarily large values — each request consumes API units (HTTP 402 if exhausted) and may trigger rate limits (HTTP 429).\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, 1 for decoded (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 (\\\"), 0 to disable.\").optional(),\n display_filter: z.array(z.enum([\"Ur\", \"Pc\", \"Tg\", \"Tr\", \"Ipu\", \"Ip0\", \"Ip1\", \"Ip2\", \"Ip3\", \"Sr\", \"St\"])).default([]).describe(\"Columns from `DomainOrganicPagesFilterType` to filter results by. If empty, no column-specific filters are applied.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip (for pagination with `display_limit`).\").optional(),\n export_columns: z.array(z.enum([\"Ur\", \"Pc\", \"Tg\", \"Tr\", \"Ipu\", \"Ip0\", \"Ip1\", \"Ip2\", \"Ip3\", \"Itu\", \"It0\", \"It1\", \"It2\", \"It3\", \"Sr\", \"St\"])).default([\"Ur\",\"Pc\",\"Tg\",\"Tr\",\"Ipu\",\"Ip0\",\"Ip1\",\"Ip2\",\"Ip3\",\"Itu\",\"It0\",\"It1\",\"It2\",\"It3\",\"Sr\",\"St\"]).describe(\"Columns to include in the report. If omitted, all columns from `DomainOrganicPagesExportColumns` are returned.\").optional(),\n}).describe(\"Request schema for fetching unique organic pages of a domain.\");\nexport const SemrushDomainOrganicPagesOutput = z.object({\n data: z.string().describe(\"Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.\").nullable(),\n}).describe(\"Response schema for `DomainOrganicPages`.\");\n\nexport const semrushDomainOrganicPages = action(\"SEMRUSH_DOMAIN_ORGANIC_PAGES\", {\n slug: \"semrush-domain-organic-pages\",\n name: \"Get domain organic pages\",\n description: \"Fetches a report on a domain's unique organic pages ranking in Google's top 100 search results, with options for specifying database, date, columns, sorting, and filtering. Response is semicolon-separated CSV text in a single `data` field requiring explicit parsing. The literal response `ERROR 50 :: NOTHING FOUND` means zero results for that domain/database combination, not a system error. Traffic metrics (e.g., `Tr`) are modeled estimates incompatible with first-party analytics data.\",\n input: SemrushDomainOrganicPagesInput,\n output: SemrushDomainOrganicPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC3E,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;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O;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC9P,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClI,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AACvX,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"domain-organic-pages.cjs","names":["z","action"],"sources":["../../src/actions/domain-organic-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushDomainOrganicPagesInput = z.object({\n domain: z.string().describe(\"Domain name to analyze (e.g., 'example.com').\"),\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 analysis (e.g., 'us', 'gb', 'de'). See Semrush API docs for full list.\"),\n display_date: z.string().describe(\"Date for historical data report in YYYYMM15 format (e.g., '20231015'). If omitted, uses most recent data. Day component MUST be 15; any other day value will not return historical data correctly.\").optional(),\n display_sort: z.enum([\"pc_asc\", \"pc_desc\", \"tg_asc\", \"tg_desc\", \"tr_asc\", \"tr_desc\", \"sr_asc\", \"sr_desc\", \"st_asc\", \"st_desc\"]).default(\"pc_desc\").describe(\"Column and order for sorting results (e.g., 'pc_desc' for traffic share descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results to return. For more than 100,000, use with `display_offset`. Large domains may exceed 10,000 rows; results are silently truncated at `display_limit`. Paginate by incrementing `display_offset` until fewer rows than `display_limit` are returned. Avoid unnecessarily large values — each request consumes API units (HTTP 402 if exhausted) and may trigger rate limits (HTTP 429).\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, 1 for decoded (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 (\\\"), 0 to disable.\").optional(),\n display_filter: z.array(z.enum([\"Ur\", \"Pc\", \"Tg\", \"Tr\", \"Ipu\", \"Ip0\", \"Ip1\", \"Ip2\", \"Ip3\", \"Sr\", \"St\"])).default([]).describe(\"Columns from `DomainOrganicPagesFilterType` to filter results by. If empty, no column-specific filters are applied.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip (for pagination with `display_limit`).\").optional(),\n export_columns: z.array(z.enum([\"Ur\", \"Pc\", \"Tg\", \"Tr\", \"Ipu\", \"Ip0\", \"Ip1\", \"Ip2\", \"Ip3\", \"Itu\", \"It0\", \"It1\", \"It2\", \"It3\", \"Sr\", \"St\"])).default([\"Ur\",\"Pc\",\"Tg\",\"Tr\",\"Ipu\",\"Ip0\",\"Ip1\",\"Ip2\",\"Ip3\",\"Itu\",\"It0\",\"It1\",\"It2\",\"It3\",\"Sr\",\"St\"]).describe(\"Columns to include in the report. If omitted, all columns from `DomainOrganicPagesExportColumns` are returned.\").optional(),\n}).describe(\"Request schema for fetching unique organic pages of a domain.\");\nexport const SemrushDomainOrganicPagesOutput = z.object({\n data: z.string().describe(\"Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.\").nullable(),\n}).passthrough().describe(\"Response schema for `DomainOrganicPages`.\");\n\nexport const semrushDomainOrganicPages = action(\"SEMRUSH_DOMAIN_ORGANIC_PAGES\", {\n slug: \"semrush-domain-organic-pages\",\n name: \"Get domain organic pages\",\n description: \"Fetches a report on a domain's unique organic pages ranking in Google's top 100 search results, with options for specifying database, date, columns, sorting, and filtering. Response is semicolon-separated CSV text in a single `data` field requiring explicit parsing. The literal response `ERROR 50 :: NOTHING FOUND` means zero results for that domain/database combination, not a system error. Traffic metrics (e.g., `Tr`) are modeled estimates incompatible with first-party analytics data.\",\n input: SemrushDomainOrganicPagesInput,\n output: SemrushDomainOrganicPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC3E,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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EAAM;EAAM;EAAM;EAAM;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAO;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AACvX,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
5
5
|
domain: 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 SemrushDomainOrganicPagesInput: 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 SemrushDomainOrganicPagesInput: 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";
|
|
@@ -170,6 +170,8 @@ declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
|
170
170
|
display_filter: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
171
171
|
Ur: "Ur";
|
|
172
172
|
Pc: "Pc";
|
|
173
|
+
Sr: "Sr";
|
|
174
|
+
St: "St";
|
|
173
175
|
Tg: "Tg";
|
|
174
176
|
Tr: "Tr";
|
|
175
177
|
Ipu: "Ipu";
|
|
@@ -177,13 +179,13 @@ declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
|
177
179
|
Ip1: "Ip1";
|
|
178
180
|
Ip2: "Ip2";
|
|
179
181
|
Ip3: "Ip3";
|
|
180
|
-
Sr: "Sr";
|
|
181
|
-
St: "St";
|
|
182
182
|
}>>>>;
|
|
183
183
|
display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
184
184
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
185
185
|
Ur: "Ur";
|
|
186
186
|
Pc: "Pc";
|
|
187
|
+
Sr: "Sr";
|
|
188
|
+
St: "St";
|
|
187
189
|
Tg: "Tg";
|
|
188
190
|
Tr: "Tr";
|
|
189
191
|
Ipu: "Ipu";
|
|
@@ -191,8 +193,6 @@ declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
|
191
193
|
Ip1: "Ip1";
|
|
192
194
|
Ip2: "Ip2";
|
|
193
195
|
Ip3: "Ip3";
|
|
194
|
-
Sr: "Sr";
|
|
195
|
-
St: "St";
|
|
196
196
|
Itu: "Itu";
|
|
197
197
|
It0: "It0";
|
|
198
198
|
It1: "It1";
|
|
@@ -202,18 +202,18 @@ declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
|
202
202
|
}, z.core.$strip>;
|
|
203
203
|
declare const SemrushDomainOrganicPagesOutput: z.ZodObject<{
|
|
204
204
|
data: z.ZodNullable<z.ZodString>;
|
|
205
|
-
}, z.core.$
|
|
205
|
+
}, z.core.$loose>;
|
|
206
206
|
declare const semrushDomainOrganicPages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
207
207
|
domain: string;
|
|
208
|
-
database: "
|
|
208
|
+
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";
|
|
209
209
|
display_date?: string | undefined;
|
|
210
210
|
display_sort?: "pc_asc" | "pc_desc" | "tg_asc" | "tg_desc" | "tr_asc" | "tr_desc" | "sr_asc" | "sr_desc" | "st_asc" | "st_desc" | undefined;
|
|
211
211
|
display_limit?: number | undefined;
|
|
212
212
|
export_decode?: 0 | 1 | undefined;
|
|
213
213
|
export_escape?: 0 | 1 | undefined;
|
|
214
|
-
display_filter?: ("Ur" | "Pc" | "
|
|
214
|
+
display_filter?: ("Ur" | "Pc" | "Sr" | "St" | "Tg" | "Tr" | "Ipu" | "Ip0" | "Ip1" | "Ip2" | "Ip3")[] | undefined;
|
|
215
215
|
display_offset?: number | undefined;
|
|
216
|
-
export_columns?: ("Ur" | "Pc" | "
|
|
216
|
+
export_columns?: ("Ur" | "Pc" | "Sr" | "St" | "Tg" | "Tr" | "Ipu" | "Ip0" | "Ip1" | "Ip2" | "Ip3" | "Itu" | "It0" | "It1" | "It2" | "It3")[] | undefined;
|
|
217
217
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
218
218
|
//#endregion
|
|
219
219
|
export { semrushDomainOrganicPages };
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
5
5
|
domain: 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 SemrushDomainOrganicPagesInput: 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 SemrushDomainOrganicPagesInput: 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";
|
|
@@ -170,6 +170,8 @@ declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
|
170
170
|
display_filter: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
171
171
|
Ur: "Ur";
|
|
172
172
|
Pc: "Pc";
|
|
173
|
+
Sr: "Sr";
|
|
174
|
+
St: "St";
|
|
173
175
|
Tg: "Tg";
|
|
174
176
|
Tr: "Tr";
|
|
175
177
|
Ipu: "Ipu";
|
|
@@ -177,13 +179,13 @@ declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
|
177
179
|
Ip1: "Ip1";
|
|
178
180
|
Ip2: "Ip2";
|
|
179
181
|
Ip3: "Ip3";
|
|
180
|
-
Sr: "Sr";
|
|
181
|
-
St: "St";
|
|
182
182
|
}>>>>;
|
|
183
183
|
display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
184
184
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
185
185
|
Ur: "Ur";
|
|
186
186
|
Pc: "Pc";
|
|
187
|
+
Sr: "Sr";
|
|
188
|
+
St: "St";
|
|
187
189
|
Tg: "Tg";
|
|
188
190
|
Tr: "Tr";
|
|
189
191
|
Ipu: "Ipu";
|
|
@@ -191,8 +193,6 @@ declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
|
191
193
|
Ip1: "Ip1";
|
|
192
194
|
Ip2: "Ip2";
|
|
193
195
|
Ip3: "Ip3";
|
|
194
|
-
Sr: "Sr";
|
|
195
|
-
St: "St";
|
|
196
196
|
Itu: "Itu";
|
|
197
197
|
It0: "It0";
|
|
198
198
|
It1: "It1";
|
|
@@ -202,18 +202,18 @@ declare const SemrushDomainOrganicPagesInput: z.ZodObject<{
|
|
|
202
202
|
}, z.core.$strip>;
|
|
203
203
|
declare const SemrushDomainOrganicPagesOutput: z.ZodObject<{
|
|
204
204
|
data: z.ZodNullable<z.ZodString>;
|
|
205
|
-
}, z.core.$
|
|
205
|
+
}, z.core.$loose>;
|
|
206
206
|
declare const semrushDomainOrganicPages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
207
207
|
domain: string;
|
|
208
|
-
database: "
|
|
208
|
+
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";
|
|
209
209
|
display_date?: string | undefined;
|
|
210
210
|
display_sort?: "pc_asc" | "pc_desc" | "tg_asc" | "tg_desc" | "tr_asc" | "tr_desc" | "sr_asc" | "sr_desc" | "st_asc" | "st_desc" | undefined;
|
|
211
211
|
display_limit?: number | undefined;
|
|
212
212
|
export_decode?: 0 | 1 | undefined;
|
|
213
213
|
export_escape?: 0 | 1 | undefined;
|
|
214
|
-
display_filter?: ("Ur" | "Pc" | "
|
|
214
|
+
display_filter?: ("Ur" | "Pc" | "Sr" | "St" | "Tg" | "Tr" | "Ipu" | "Ip0" | "Ip1" | "Ip2" | "Ip3")[] | undefined;
|
|
215
215
|
display_offset?: number | undefined;
|
|
216
|
-
export_columns?: ("Ur" | "Pc" | "
|
|
216
|
+
export_columns?: ("Ur" | "Pc" | "Sr" | "St" | "Tg" | "Tr" | "Ipu" | "Ip0" | "Ip1" | "Ip2" | "Ip3" | "Itu" | "It0" | "It1" | "It2" | "It3")[] | undefined;
|
|
217
217
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
218
218
|
//#endregion
|
|
219
219
|
export { semrushDomainOrganicPages };
|
|
@@ -220,7 +220,7 @@ const semrushDomainOrganicPages = action("SEMRUSH_DOMAIN_ORGANIC_PAGES", {
|
|
|
220
220
|
"St"
|
|
221
221
|
]).describe("Columns to include in the report. If omitted, all columns from `DomainOrganicPagesExportColumns` are returned.").optional()
|
|
222
222
|
}).describe("Request schema for fetching unique organic pages of a domain."),
|
|
223
|
-
output: z.object({ data: z.string().describe("Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.").nullable() }).describe("Response schema for `DomainOrganicPages`.")
|
|
223
|
+
output: z.object({ data: z.string().describe("Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.").nullable() }).passthrough().describe("Response schema for `DomainOrganicPages`.")
|
|
224
224
|
});
|
|
225
225
|
//#endregion
|
|
226
226
|
export { semrushDomainOrganicPages };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-organic-pages.mjs","names":[],"sources":["../../src/actions/domain-organic-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushDomainOrganicPagesInput = z.object({\n domain: z.string().describe(\"Domain name to analyze (e.g., 'example.com').\"),\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 analysis (e.g., 'us', 'gb', 'de'). See Semrush API docs for full list.\"),\n display_date: z.string().describe(\"Date for historical data report in YYYYMM15 format (e.g., '20231015'). If omitted, uses most recent data. Day component MUST be 15; any other day value will not return historical data correctly.\").optional(),\n display_sort: z.enum([\"pc_asc\", \"pc_desc\", \"tg_asc\", \"tg_desc\", \"tr_asc\", \"tr_desc\", \"sr_asc\", \"sr_desc\", \"st_asc\", \"st_desc\"]).default(\"pc_desc\").describe(\"Column and order for sorting results (e.g., 'pc_desc' for traffic share descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results to return. For more than 100,000, use with `display_offset`. Large domains may exceed 10,000 rows; results are silently truncated at `display_limit`. Paginate by incrementing `display_offset` until fewer rows than `display_limit` are returned. Avoid unnecessarily large values — each request consumes API units (HTTP 402 if exhausted) and may trigger rate limits (HTTP 429).\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, 1 for decoded (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 (\\\"), 0 to disable.\").optional(),\n display_filter: z.array(z.enum([\"Ur\", \"Pc\", \"Tg\", \"Tr\", \"Ipu\", \"Ip0\", \"Ip1\", \"Ip2\", \"Ip3\", \"Sr\", \"St\"])).default([]).describe(\"Columns from `DomainOrganicPagesFilterType` to filter results by. If empty, no column-specific filters are applied.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip (for pagination with `display_limit`).\").optional(),\n export_columns: z.array(z.enum([\"Ur\", \"Pc\", \"Tg\", \"Tr\", \"Ipu\", \"Ip0\", \"Ip1\", \"Ip2\", \"Ip3\", \"Itu\", \"It0\", \"It1\", \"It2\", \"It3\", \"Sr\", \"St\"])).default([\"Ur\",\"Pc\",\"Tg\",\"Tr\",\"Ipu\",\"Ip0\",\"Ip1\",\"Ip2\",\"Ip3\",\"Itu\",\"It0\",\"It1\",\"It2\",\"It3\",\"Sr\",\"St\"]).describe(\"Columns to include in the report. If omitted, all columns from `DomainOrganicPagesExportColumns` are returned.\").optional(),\n}).describe(\"Request schema for fetching unique organic pages of a domain.\");\nexport const SemrushDomainOrganicPagesOutput = z.object({\n data: z.string().describe(\"Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.\").nullable(),\n}).describe(\"Response schema for `DomainOrganicPages`.\");\n\nexport const semrushDomainOrganicPages = action(\"SEMRUSH_DOMAIN_ORGANIC_PAGES\", {\n slug: \"semrush-domain-organic-pages\",\n name: \"Get domain organic pages\",\n description: \"Fetches a report on a domain's unique organic pages ranking in Google's top 100 search results, with options for specifying database, date, columns, sorting, and filtering. Response is semicolon-separated CSV text in a single `data` field requiring explicit parsing. The literal response `ERROR 50 :: NOTHING FOUND` means zero results for that domain/database combination, not a system error. Traffic metrics (e.g., `Tr`) are modeled estimates incompatible with first-party analytics data.\",\n input: SemrushDomainOrganicPagesInput,\n output: SemrushDomainOrganicPagesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC3E,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GA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AE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAChK,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACnK,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAO;GAAO;GAAO;GAAO;GAAO;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC9P,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAClI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvX,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QAT6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"domain-organic-pages.mjs","names":[],"sources":["../../src/actions/domain-organic-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushDomainOrganicPagesInput = z.object({\n domain: z.string().describe(\"Domain name to analyze (e.g., 'example.com').\"),\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 analysis (e.g., 'us', 'gb', 'de'). See Semrush API docs for full list.\"),\n display_date: z.string().describe(\"Date for historical data report in YYYYMM15 format (e.g., '20231015'). If omitted, uses most recent data. Day component MUST be 15; any other day value will not return historical data correctly.\").optional(),\n display_sort: z.enum([\"pc_asc\", \"pc_desc\", \"tg_asc\", \"tg_desc\", \"tr_asc\", \"tr_desc\", \"sr_asc\", \"sr_desc\", \"st_asc\", \"st_desc\"]).default(\"pc_desc\").describe(\"Column and order for sorting results (e.g., 'pc_desc' for traffic share descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results to return. For more than 100,000, use with `display_offset`. Large domains may exceed 10,000 rows; results are silently truncated at `display_limit`. Paginate by incrementing `display_offset` until fewer rows than `display_limit` are returned. Avoid unnecessarily large values — each request consumes API units (HTTP 402 if exhausted) and may trigger rate limits (HTTP 429).\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, 1 for decoded (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 (\\\"), 0 to disable.\").optional(),\n display_filter: z.array(z.enum([\"Ur\", \"Pc\", \"Tg\", \"Tr\", \"Ipu\", \"Ip0\", \"Ip1\", \"Ip2\", \"Ip3\", \"Sr\", \"St\"])).default([]).describe(\"Columns from `DomainOrganicPagesFilterType` to filter results by. If empty, no column-specific filters are applied.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip (for pagination with `display_limit`).\").optional(),\n export_columns: z.array(z.enum([\"Ur\", \"Pc\", \"Tg\", \"Tr\", \"Ipu\", \"Ip0\", \"Ip1\", \"Ip2\", \"Ip3\", \"Itu\", \"It0\", \"It1\", \"It2\", \"It3\", \"Sr\", \"St\"])).default([\"Ur\",\"Pc\",\"Tg\",\"Tr\",\"Ipu\",\"Ip0\",\"Ip1\",\"Ip2\",\"Ip3\",\"Itu\",\"It0\",\"It1\",\"It2\",\"It3\",\"Sr\",\"St\"]).describe(\"Columns to include in the report. If omitted, all columns from `DomainOrganicPagesExportColumns` are returned.\").optional(),\n}).describe(\"Request schema for fetching unique organic pages of a domain.\");\nexport const SemrushDomainOrganicPagesOutput = z.object({\n data: z.string().describe(\"Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.\").nullable(),\n}).passthrough().describe(\"Response schema for `DomainOrganicPages`.\");\n\nexport const semrushDomainOrganicPages = action(\"SEMRUSH_DOMAIN_ORGANIC_PAGES\", {\n slug: \"semrush-domain-organic-pages\",\n name: \"Get domain organic pages\",\n description: \"Fetches a report on a domain's unique organic pages ranking in Google's top 100 search results, with options for specifying database, date, columns, sorting, and filtering. Response is semicolon-separated CSV text in a single `data` field requiring explicit parsing. The literal response `ERROR 50 :: NOTHING FOUND` means zero results for that domain/database combination, not a system error. Traffic metrics (e.g., `Tr`) are modeled estimates incompatible with first-party analytics data.\",\n input: SemrushDomainOrganicPagesInput,\n output: SemrushDomainOrganicPagesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC3E,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;G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,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC9P,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAClI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAO;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACvX,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QAT6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -249,7 +249,7 @@ const SemrushDomainOrganicSearchKeywordsInput = zod.z.object({
|
|
|
249
249
|
"serp_features"
|
|
250
250
|
]).default("organic").describe("Type of ranking positions: 'organic' (standard), 'all' (includes SERP features), or 'serp_features' (domain ranks in SERP features).").optional()
|
|
251
251
|
}).describe("Request schema for retrieving organic search keywords for a domain from Semrush.");
|
|
252
|
-
const SemrushDomainOrganicSearchKeywordsOutput = zod.z.object({ data: zod.z.string().describe("The organic search keyword data for the specified domain, typically returned in a text-based format (e.g., CSV).").nullable() }).describe("Response schema for `DomainOrganicSearchKeywords`");
|
|
252
|
+
const SemrushDomainOrganicSearchKeywordsOutput = zod.z.object({ data: zod.z.string().describe("The organic search keyword data for the specified domain, typically returned in a text-based format (e.g., CSV).").nullable() }).passthrough().describe("Response schema for `DomainOrganicSearchKeywords`");
|
|
253
253
|
const semrushDomainOrganicSearchKeywords = require_action.action("SEMRUSH_DOMAIN_ORGANIC_SEARCH_KEYWORDS", {
|
|
254
254
|
slug: "semrush-domain-organic-search-keywords",
|
|
255
255
|
name: "Get domain organic search keywords",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-organic-search-keywords.cjs","names":["z","action"],"sources":["../../src/actions/domain-organic-search-keywords.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushDomainOrganicSearchKeywordsInput = z.object({\n domain: z.string().describe(\"The domain name (e.g., example.com) to investigate for organic search keywords.\"),\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 regional database to query (e.g., 'us', 'uk', 'de').\"),\n display_date: z.string().describe(\"Date for keyword data: 'YYYYMM15' for monthly historical, 'YYYYMMDD' for daily (e.g., '20231015', '20231120'). Shows latest daily ranking changes if unspecified.\").optional(),\n display_sort: z.enum([\"po_asc\", \"po_desc\", \"tg_asc\", \"tg_desc\", \"tr_asc\", \"tr_desc\", \"tc_asc\", \"tc_desc\", \"nq_asc\", \"nq_desc\", \"co_asc\", \"co_desc\", \"kd_asc\", \"kd_desc\", \"cp_asc\", \"cp_desc\", \"nr_asc\", \"nr_desc\", \"ts_asc\", \"ts_desc\"]).default(\"po_desc\").describe(\"Column and order for sorting results (e.g., 'po_desc' for position descending).\").optional(),\n display_daily: z.number().int().describe(\"Set to 1 for daily updates on position changes (last 31 days), or 0 for monthly results. Requires `display_positions` if set to 1.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Number of results. When `display_offset` is used, this specifies the CUMULATIVE count from the start. Semrush may have per-call limits; use pagination for large datasets.\").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 (\\\"); 0 to disable.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Po\", \"Nq\", \"Cp\", \"Ur\", \"Tg\", \"Tr\", \"Tc\", \"Nr\", \"Co\", \"Pp\", \"Pd\", \"Fp\", \"Fk\", \"In\", \"Br\"])).default([]).describe(\"List of column codes from `DomainOrganicSearchKeywordsFilterType` for filtering (e.g., 'Ph', 'Ur'). For complex filter syntax like 'Ph|Cn|semrush', refer to Semrush API documentation.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip for pagination. When used, `display_limit` should be `display_offset` + number of rows for the current page.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Po\", \"Pp\", \"Pd\", \"Nq\", \"Cp\", \"Ur\", \"Tr\", \"Tg\", \"Tc\", \"Co\", \"Nr\", \"Td\", \"Kd\", \"Fp\", \"Fk\", \"Ts\", \"In\", \"Pt\"])).default([\"Ph\",\"Po\",\"Pp\",\"Pd\",\"Nq\",\"Cp\",\"Ur\",\"Tr\",\"Tg\",\"Tc\",\"Co\",\"Nr\",\"Td\",\"Kd\",\"Fp\",\"Fk\",\"Ts\",\"In\",\"Pt\"]).describe(\"Data columns to include. If omitted, all columns from `DomainOrganicSearchKeywordsExportColumns` are requested. Retain key metrics Tr (traffic), Cp (CPC), Po (position), and Kd (keyword difficulty) to avoid missing critical data.\").optional(),\n display_positions: z.enum([\"new\", \"lost\", \"rise\", \"fall\"]).describe(\"Filter keywords by position changes in Google's top 100: 'new', 'lost', 'rise', or 'fall'.\").optional(),\n display_positions_type: z.enum([\"organic\", \"all\", \"serp_features\"]).default(\"organic\").describe(\"Type of ranking positions: 'organic' (standard), 'all' (includes SERP features), or 'serp_features' (domain ranks in SERP features).\").optional(),\n}).describe(\"Request schema for retrieving organic search keywords for a domain from Semrush.\");\nexport const SemrushDomainOrganicSearchKeywordsOutput = z.object({\n data: z.string().describe(\"The organic search keyword data for the specified domain, typically returned in a text-based format (e.g., CSV).\").nullable(),\n}).describe(\"Response schema for `DomainOrganicSearchKeywords`\");\n\nexport const semrushDomainOrganicSearchKeywords = action(\"SEMRUSH_DOMAIN_ORGANIC_SEARCH_KEYWORDS\", {\n slug: \"semrush-domain-organic-search-keywords\",\n name: \"Get domain organic search keywords\",\n description: \"Retrieves organic search keywords for a domain from a specified Semrush regional database; `display_positions` must be set if `display_daily=1` for daily updates. Response is semicolon-delimited CSV text (parse with sep=';', cast numeric columns before aggregations). A response of 'ERROR 50 :: NOTHING FOUND' indicates no data for the domain in the selected database — treat as a valid zero-result.\",\n input: SemrushDomainOrganicSearchKeywordsInput,\n output: SemrushDomainOrganicSearchKeywordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC7G,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,0DAA0D;CAChmC,cAAcA,IAAAA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AI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,uOAAuO,CAAC,CAAC,SAAS;CACzf,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC3K,wBAAwBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAO;CAAe,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACnP,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"domain-organic-search-keywords.cjs","names":["z","action"],"sources":["../../src/actions/domain-organic-search-keywords.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushDomainOrganicSearchKeywordsInput = z.object({\n domain: z.string().describe(\"The domain name (e.g., example.com) to investigate for organic search keywords.\"),\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 regional database to query (e.g., 'us', 'uk', 'de').\"),\n display_date: z.string().describe(\"Date for keyword data: 'YYYYMM15' for monthly historical, 'YYYYMMDD' for daily (e.g., '20231015', '20231120'). Shows latest daily ranking changes if unspecified.\").optional(),\n display_sort: z.enum([\"po_asc\", \"po_desc\", \"tg_asc\", \"tg_desc\", \"tr_asc\", \"tr_desc\", \"tc_asc\", \"tc_desc\", \"nq_asc\", \"nq_desc\", \"co_asc\", \"co_desc\", \"kd_asc\", \"kd_desc\", \"cp_asc\", \"cp_desc\", \"nr_asc\", \"nr_desc\", \"ts_asc\", \"ts_desc\"]).default(\"po_desc\").describe(\"Column and order for sorting results (e.g., 'po_desc' for position descending).\").optional(),\n display_daily: z.number().int().describe(\"Set to 1 for daily updates on position changes (last 31 days), or 0 for monthly results. Requires `display_positions` if set to 1.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Number of results. When `display_offset` is used, this specifies the CUMULATIVE count from the start. Semrush may have per-call limits; use pagination for large datasets.\").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 (\\\"); 0 to disable.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Po\", \"Nq\", \"Cp\", \"Ur\", \"Tg\", \"Tr\", \"Tc\", \"Nr\", \"Co\", \"Pp\", \"Pd\", \"Fp\", \"Fk\", \"In\", \"Br\"])).default([]).describe(\"List of column codes from `DomainOrganicSearchKeywordsFilterType` for filtering (e.g., 'Ph', 'Ur'). For complex filter syntax like 'Ph|Cn|semrush', refer to Semrush API documentation.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip for pagination. When used, `display_limit` should be `display_offset` + number of rows for the current page.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Po\", \"Pp\", \"Pd\", \"Nq\", \"Cp\", \"Ur\", \"Tr\", \"Tg\", \"Tc\", \"Co\", \"Nr\", \"Td\", \"Kd\", \"Fp\", \"Fk\", \"Ts\", \"In\", \"Pt\"])).default([\"Ph\",\"Po\",\"Pp\",\"Pd\",\"Nq\",\"Cp\",\"Ur\",\"Tr\",\"Tg\",\"Tc\",\"Co\",\"Nr\",\"Td\",\"Kd\",\"Fp\",\"Fk\",\"Ts\",\"In\",\"Pt\"]).describe(\"Data columns to include. If omitted, all columns from `DomainOrganicSearchKeywordsExportColumns` are requested. Retain key metrics Tr (traffic), Cp (CPC), Po (position), and Kd (keyword difficulty) to avoid missing critical data.\").optional(),\n display_positions: z.enum([\"new\", \"lost\", \"rise\", \"fall\"]).describe(\"Filter keywords by position changes in Google's top 100: 'new', 'lost', 'rise', or 'fall'.\").optional(),\n display_positions_type: z.enum([\"organic\", \"all\", \"serp_features\"]).default(\"organic\").describe(\"Type of ranking positions: 'organic' (standard), 'all' (includes SERP features), or 'serp_features' (domain ranks in SERP features).\").optional(),\n}).describe(\"Request schema for retrieving organic search keywords for a domain from Semrush.\");\nexport const SemrushDomainOrganicSearchKeywordsOutput = z.object({\n data: z.string().describe(\"The organic search keyword data for the specified domain, typically returned in a text-based format (e.g., CSV).\").nullable(),\n}).passthrough().describe(\"Response schema for `DomainOrganicSearchKeywords`\");\n\nexport const semrushDomainOrganicSearchKeywords = action(\"SEMRUSH_DOMAIN_ORGANIC_SEARCH_KEYWORDS\", {\n slug: \"semrush-domain-organic-search-keywords\",\n name: \"Get domain organic search keywords\",\n description: \"Retrieves organic search keywords for a domain from a specified Semrush regional database; `display_positions` must be set if `display_daily=1` for daily updates. Response is semicolon-delimited CSV text (parse with sep=';', cast numeric columns before aggregations). A response of 'ERROR 50 :: NOTHING FOUND' indicates no data for the domain in the selected database — treat as a valid zero-result.\",\n input: SemrushDomainOrganicSearchKeywordsInput,\n output: SemrushDomainOrganicSearchKeywordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC7G,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;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