@keystrokehq/semrush 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/account-units-balance.cjs +1 -1
  5. package/dist/actions/account-units-balance.cjs.map +1 -1
  6. package/dist/actions/account-units-balance.d.cts +5 -3
  7. package/dist/actions/account-units-balance.d.cts.map +1 -1
  8. package/dist/actions/account-units-balance.d.mts +5 -3
  9. package/dist/actions/account-units-balance.d.mts.map +1 -1
  10. package/dist/actions/account-units-balance.mjs +1 -1
  11. package/dist/actions/account-units-balance.mjs.map +1 -1
  12. package/dist/actions/ads-copies.cjs +1 -1
  13. package/dist/actions/ads-copies.cjs.map +1 -1
  14. package/dist/actions/ads-copies.d.cts +188 -3
  15. package/dist/actions/ads-copies.d.cts.map +1 -1
  16. package/dist/actions/ads-copies.d.mts +188 -3
  17. package/dist/actions/ads-copies.d.mts.map +1 -1
  18. package/dist/actions/ads-copies.mjs +1 -1
  19. package/dist/actions/ads-copies.mjs.map +1 -1
  20. package/dist/actions/anchors.cjs +1 -1
  21. package/dist/actions/anchors.cjs.map +1 -1
  22. package/dist/actions/anchors.d.cts +38 -3
  23. package/dist/actions/anchors.d.cts.map +1 -1
  24. package/dist/actions/anchors.d.mts +38 -3
  25. package/dist/actions/anchors.d.mts.map +1 -1
  26. package/dist/actions/anchors.mjs +1 -1
  27. package/dist/actions/anchors.mjs.map +1 -1
  28. package/dist/actions/authority-score-profile.cjs +1 -1
  29. package/dist/actions/authority-score-profile.cjs.map +1 -1
  30. package/dist/actions/authority-score-profile.d.cts +15 -3
  31. package/dist/actions/authority-score-profile.d.cts.map +1 -1
  32. package/dist/actions/authority-score-profile.d.mts +15 -3
  33. package/dist/actions/authority-score-profile.d.mts.map +1 -1
  34. package/dist/actions/authority-score-profile.mjs +1 -1
  35. package/dist/actions/authority-score-profile.mjs.map +1 -1
  36. package/dist/actions/backlinks-overview.cjs +1 -1
  37. package/dist/actions/backlinks-overview.cjs.map +1 -1
  38. package/dist/actions/backlinks-overview.d.cts +32 -3
  39. package/dist/actions/backlinks-overview.d.cts.map +1 -1
  40. package/dist/actions/backlinks-overview.d.mts +32 -3
  41. package/dist/actions/backlinks-overview.d.mts.map +1 -1
  42. package/dist/actions/backlinks-overview.mjs +1 -1
  43. package/dist/actions/backlinks-overview.mjs.map +1 -1
  44. package/dist/actions/backlinks.cjs +1 -1
  45. package/dist/actions/backlinks.cjs.map +1 -1
  46. package/dist/actions/backlinks.d.cts +65 -3
  47. package/dist/actions/backlinks.d.cts.map +1 -1
  48. package/dist/actions/backlinks.d.mts +65 -3
  49. package/dist/actions/backlinks.d.mts.map +1 -1
  50. package/dist/actions/backlinks.mjs +1 -1
  51. package/dist/actions/backlinks.mjs.map +1 -1
  52. package/dist/actions/batch-comparison.cjs +1 -1
  53. package/dist/actions/batch-comparison.cjs.map +1 -1
  54. package/dist/actions/batch-comparison.d.cts +30 -3
  55. package/dist/actions/batch-comparison.d.cts.map +1 -1
  56. package/dist/actions/batch-comparison.d.mts +30 -3
  57. package/dist/actions/batch-comparison.d.mts.map +1 -1
  58. package/dist/actions/batch-comparison.mjs +1 -1
  59. package/dist/actions/batch-comparison.mjs.map +1 -1
  60. package/dist/actions/batch-keyword-overview.cjs +2 -2
  61. package/dist/actions/batch-keyword-overview.cjs.map +1 -1
  62. package/dist/actions/batch-keyword-overview.d.cts +177 -3
  63. package/dist/actions/batch-keyword-overview.d.cts.map +1 -1
  64. package/dist/actions/batch-keyword-overview.d.mts +177 -3
  65. package/dist/actions/batch-keyword-overview.d.mts.map +1 -1
  66. package/dist/actions/batch-keyword-overview.mjs +2 -2
  67. package/dist/actions/batch-keyword-overview.mjs.map +1 -1
  68. package/dist/actions/broad-match-keyword.cjs +1 -1
  69. package/dist/actions/broad-match-keyword.cjs.map +1 -1
  70. package/dist/actions/broad-match-keyword.d.cts +204 -3
  71. package/dist/actions/broad-match-keyword.d.cts.map +1 -1
  72. package/dist/actions/broad-match-keyword.d.mts +204 -3
  73. package/dist/actions/broad-match-keyword.d.mts.map +1 -1
  74. package/dist/actions/broad-match-keyword.mjs +1 -1
  75. package/dist/actions/broad-match-keyword.mjs.map +1 -1
  76. package/dist/actions/categories-profile.cjs +1 -1
  77. package/dist/actions/categories-profile.cjs.map +1 -1
  78. package/dist/actions/categories-profile.d.cts +24 -3
  79. package/dist/actions/categories-profile.d.cts.map +1 -1
  80. package/dist/actions/categories-profile.d.mts +24 -3
  81. package/dist/actions/categories-profile.d.mts.map +1 -1
  82. package/dist/actions/categories-profile.mjs +1 -1
  83. package/dist/actions/categories-profile.mjs.map +1 -1
  84. package/dist/actions/categories.cjs +1 -1
  85. package/dist/actions/categories.cjs.map +1 -1
  86. package/dist/actions/categories.d.cts +24 -3
  87. package/dist/actions/categories.d.cts.map +1 -1
  88. package/dist/actions/categories.d.mts +24 -3
  89. package/dist/actions/categories.d.mts.map +1 -1
  90. package/dist/actions/categories.mjs +1 -1
  91. package/dist/actions/categories.mjs.map +1 -1
  92. package/dist/actions/competitors-in-organic-search.cjs +1 -1
  93. package/dist/actions/competitors-in-organic-search.cjs.map +1 -1
  94. package/dist/actions/competitors-in-organic-search.d.cts +188 -3
  95. package/dist/actions/competitors-in-organic-search.d.cts.map +1 -1
  96. package/dist/actions/competitors-in-organic-search.d.mts +188 -3
  97. package/dist/actions/competitors-in-organic-search.d.mts.map +1 -1
  98. package/dist/actions/competitors-in-organic-search.mjs +1 -1
  99. package/dist/actions/competitors-in-organic-search.mjs.map +1 -1
  100. package/dist/actions/competitors-in-paid-search.cjs +1 -1
  101. package/dist/actions/competitors-in-paid-search.cjs.map +1 -1
  102. package/dist/actions/competitors-in-paid-search.d.cts +185 -3
  103. package/dist/actions/competitors-in-paid-search.d.cts.map +1 -1
  104. package/dist/actions/competitors-in-paid-search.d.mts +185 -3
  105. package/dist/actions/competitors-in-paid-search.d.mts.map +1 -1
  106. package/dist/actions/competitors-in-paid-search.mjs +1 -1
  107. package/dist/actions/competitors-in-paid-search.mjs.map +1 -1
  108. package/dist/actions/competitors.cjs +1 -1
  109. package/dist/actions/competitors.cjs.map +1 -1
  110. package/dist/actions/competitors.d.cts +33 -3
  111. package/dist/actions/competitors.d.cts.map +1 -1
  112. package/dist/actions/competitors.d.mts +33 -3
  113. package/dist/actions/competitors.d.mts.map +1 -1
  114. package/dist/actions/competitors.mjs +1 -1
  115. package/dist/actions/competitors.mjs.map +1 -1
  116. package/dist/actions/domain-ad-history.cjs +1 -1
  117. package/dist/actions/domain-ad-history.cjs.map +1 -1
  118. package/dist/actions/domain-ad-history.d.cts +190 -3
  119. package/dist/actions/domain-ad-history.d.cts.map +1 -1
  120. package/dist/actions/domain-ad-history.d.mts +190 -3
  121. package/dist/actions/domain-ad-history.d.mts.map +1 -1
  122. package/dist/actions/domain-ad-history.mjs +1 -1
  123. package/dist/actions/domain-ad-history.mjs.map +1 -1
  124. package/dist/actions/domain-organic-pages.cjs +1 -1
  125. package/dist/actions/domain-organic-pages.cjs.map +1 -1
  126. package/dist/actions/domain-organic-pages.d.cts +214 -3
  127. package/dist/actions/domain-organic-pages.d.cts.map +1 -1
  128. package/dist/actions/domain-organic-pages.d.mts +214 -3
  129. package/dist/actions/domain-organic-pages.d.mts.map +1 -1
  130. package/dist/actions/domain-organic-pages.mjs +1 -1
  131. package/dist/actions/domain-organic-pages.mjs.map +1 -1
  132. package/dist/actions/domain-organic-search-keywords.cjs +1 -1
  133. package/dist/actions/domain-organic-search-keywords.cjs.map +1 -1
  134. package/dist/actions/domain-organic-search-keywords.d.cts +245 -3
  135. package/dist/actions/domain-organic-search-keywords.d.cts.map +1 -1
  136. package/dist/actions/domain-organic-search-keywords.d.mts +245 -3
  137. package/dist/actions/domain-organic-search-keywords.d.mts.map +1 -1
  138. package/dist/actions/domain-organic-search-keywords.mjs +1 -1
  139. package/dist/actions/domain-organic-search-keywords.mjs.map +1 -1
  140. package/dist/actions/domain-organic-subdomains.cjs +1 -1
  141. package/dist/actions/domain-organic-subdomains.cjs.map +1 -1
  142. package/dist/actions/domain-organic-subdomains.d.cts +190 -3
  143. package/dist/actions/domain-organic-subdomains.d.cts.map +1 -1
  144. package/dist/actions/domain-organic-subdomains.d.mts +190 -3
  145. package/dist/actions/domain-organic-subdomains.d.mts.map +1 -1
  146. package/dist/actions/domain-organic-subdomains.mjs +1 -1
  147. package/dist/actions/domain-organic-subdomains.mjs.map +1 -1
  148. package/dist/actions/domain-paid-search-keywords.cjs +1 -1
  149. package/dist/actions/domain-paid-search-keywords.cjs.map +1 -1
  150. package/dist/actions/domain-paid-search-keywords.d.cts +212 -3
  151. package/dist/actions/domain-paid-search-keywords.d.cts.map +1 -1
  152. package/dist/actions/domain-paid-search-keywords.d.mts +212 -3
  153. package/dist/actions/domain-paid-search-keywords.d.mts.map +1 -1
  154. package/dist/actions/domain-paid-search-keywords.mjs +1 -1
  155. package/dist/actions/domain-paid-search-keywords.mjs.map +1 -1
  156. package/dist/actions/domain-pla-search-keywords.cjs +1 -1
  157. package/dist/actions/domain-pla-search-keywords.cjs.map +1 -1
  158. package/dist/actions/domain-pla-search-keywords.d.cts +197 -3
  159. package/dist/actions/domain-pla-search-keywords.d.cts.map +1 -1
  160. package/dist/actions/domain-pla-search-keywords.d.mts +197 -3
  161. package/dist/actions/domain-pla-search-keywords.d.mts.map +1 -1
  162. package/dist/actions/domain-pla-search-keywords.mjs +1 -1
  163. package/dist/actions/domain-pla-search-keywords.mjs.map +1 -1
  164. package/dist/actions/domain-vs-domain.cjs +1 -1
  165. package/dist/actions/domain-vs-domain.cjs.map +1 -1
  166. package/dist/actions/domain-vs-domain.d.cts +217 -3
  167. package/dist/actions/domain-vs-domain.d.cts.map +1 -1
  168. package/dist/actions/domain-vs-domain.d.mts +217 -3
  169. package/dist/actions/domain-vs-domain.d.mts.map +1 -1
  170. package/dist/actions/domain-vs-domain.mjs +1 -1
  171. package/dist/actions/domain-vs-domain.mjs.map +1 -1
  172. package/dist/actions/historical-data.cjs +1 -1
  173. package/dist/actions/historical-data.cjs.map +1 -1
  174. package/dist/actions/historical-data.d.cts +22 -3
  175. package/dist/actions/historical-data.d.cts.map +1 -1
  176. package/dist/actions/historical-data.d.mts +22 -3
  177. package/dist/actions/historical-data.d.mts.map +1 -1
  178. package/dist/actions/historical-data.mjs +1 -1
  179. package/dist/actions/historical-data.mjs.map +1 -1
  180. package/dist/actions/indexed-pages.cjs +1 -1
  181. package/dist/actions/indexed-pages.cjs.map +1 -1
  182. package/dist/actions/indexed-pages.d.cts +39 -3
  183. package/dist/actions/indexed-pages.d.cts.map +1 -1
  184. package/dist/actions/indexed-pages.d.mts +39 -3
  185. package/dist/actions/indexed-pages.d.mts.map +1 -1
  186. package/dist/actions/indexed-pages.mjs +1 -1
  187. package/dist/actions/indexed-pages.mjs.map +1 -1
  188. package/dist/actions/keyword-difficulty.cjs +1 -1
  189. package/dist/actions/keyword-difficulty.cjs.map +1 -1
  190. package/dist/actions/keyword-difficulty.d.cts +165 -3
  191. package/dist/actions/keyword-difficulty.d.cts.map +1 -1
  192. package/dist/actions/keyword-difficulty.d.mts +165 -3
  193. package/dist/actions/keyword-difficulty.d.mts.map +1 -1
  194. package/dist/actions/keyword-difficulty.mjs +1 -1
  195. package/dist/actions/keyword-difficulty.mjs.map +1 -1
  196. package/dist/actions/keyword-overview-all-databases.cjs +1 -1
  197. package/dist/actions/keyword-overview-all-databases.cjs.map +1 -1
  198. package/dist/actions/keyword-overview-all-databases.d.cts +174 -3
  199. package/dist/actions/keyword-overview-all-databases.d.cts.map +1 -1
  200. package/dist/actions/keyword-overview-all-databases.d.mts +174 -3
  201. package/dist/actions/keyword-overview-all-databases.d.mts.map +1 -1
  202. package/dist/actions/keyword-overview-all-databases.mjs +1 -1
  203. package/dist/actions/keyword-overview-all-databases.mjs.map +1 -1
  204. package/dist/actions/keyword-overview-one-database.cjs +1 -1
  205. package/dist/actions/keyword-overview-one-database.cjs.map +1 -1
  206. package/dist/actions/keyword-overview-one-database.d.cts +175 -3
  207. package/dist/actions/keyword-overview-one-database.d.cts.map +1 -1
  208. package/dist/actions/keyword-overview-one-database.d.mts +175 -3
  209. package/dist/actions/keyword-overview-one-database.d.mts.map +1 -1
  210. package/dist/actions/keyword-overview-one-database.mjs +1 -1
  211. package/dist/actions/keyword-overview-one-database.mjs.map +1 -1
  212. package/dist/actions/keywords-ads-history.cjs +1 -1
  213. package/dist/actions/keywords-ads-history.cjs.map +1 -1
  214. package/dist/actions/keywords-ads-history.d.cts +181 -3
  215. package/dist/actions/keywords-ads-history.d.cts.map +1 -1
  216. package/dist/actions/keywords-ads-history.d.mts +181 -3
  217. package/dist/actions/keywords-ads-history.d.mts.map +1 -1
  218. package/dist/actions/keywords-ads-history.mjs +1 -1
  219. package/dist/actions/keywords-ads-history.mjs.map +1 -1
  220. package/dist/actions/organic-results.cjs +1 -1
  221. package/dist/actions/organic-results.cjs.map +1 -1
  222. package/dist/actions/organic-results.d.cts +183 -3
  223. package/dist/actions/organic-results.d.cts.map +1 -1
  224. package/dist/actions/organic-results.d.mts +183 -3
  225. package/dist/actions/organic-results.d.mts.map +1 -1
  226. package/dist/actions/organic-results.mjs +1 -1
  227. package/dist/actions/organic-results.mjs.map +1 -1
  228. package/dist/actions/paid-results.cjs +1 -1
  229. package/dist/actions/paid-results.cjs.map +1 -1
  230. package/dist/actions/paid-results.d.cts +174 -3
  231. package/dist/actions/paid-results.d.cts.map +1 -1
  232. package/dist/actions/paid-results.d.mts +174 -3
  233. package/dist/actions/paid-results.d.mts.map +1 -1
  234. package/dist/actions/paid-results.mjs +1 -1
  235. package/dist/actions/paid-results.mjs.map +1 -1
  236. package/dist/actions/phrase-questions.cjs +1 -1
  237. package/dist/actions/phrase-questions.cjs.map +1 -1
  238. package/dist/actions/phrase-questions.d.cts +199 -3
  239. package/dist/actions/phrase-questions.d.cts.map +1 -1
  240. package/dist/actions/phrase-questions.d.mts +199 -3
  241. package/dist/actions/phrase-questions.d.mts.map +1 -1
  242. package/dist/actions/phrase-questions.mjs +1 -1
  243. package/dist/actions/phrase-questions.mjs.map +1 -1
  244. package/dist/actions/pla-competitors.cjs +1 -1
  245. package/dist/actions/pla-competitors.cjs.map +1 -1
  246. package/dist/actions/pla-competitors.d.cts +184 -3
  247. package/dist/actions/pla-competitors.d.cts.map +1 -1
  248. package/dist/actions/pla-competitors.d.mts +184 -3
  249. package/dist/actions/pla-competitors.d.mts.map +1 -1
  250. package/dist/actions/pla-competitors.mjs +1 -1
  251. package/dist/actions/pla-competitors.mjs.map +1 -1
  252. package/dist/actions/pla-copies.cjs +1 -1
  253. package/dist/actions/pla-copies.cjs.map +1 -1
  254. package/dist/actions/pla-copies.d.cts +187 -3
  255. package/dist/actions/pla-copies.d.cts.map +1 -1
  256. package/dist/actions/pla-copies.d.mts +187 -3
  257. package/dist/actions/pla-copies.d.mts.map +1 -1
  258. package/dist/actions/pla-copies.mjs +1 -1
  259. package/dist/actions/pla-copies.mjs.map +1 -1
  260. package/dist/actions/referring-domains-by-country.cjs +1 -1
  261. package/dist/actions/referring-domains-by-country.cjs.map +1 -1
  262. package/dist/actions/referring-domains-by-country.d.cts +32 -3
  263. package/dist/actions/referring-domains-by-country.d.cts.map +1 -1
  264. package/dist/actions/referring-domains-by-country.d.mts +32 -3
  265. package/dist/actions/referring-domains-by-country.d.mts.map +1 -1
  266. package/dist/actions/referring-domains-by-country.mjs +1 -1
  267. package/dist/actions/referring-domains-by-country.mjs.map +1 -1
  268. package/dist/actions/referring-domains.cjs +1 -1
  269. package/dist/actions/referring-domains.cjs.map +1 -1
  270. package/dist/actions/referring-domains.d.cts +49 -3
  271. package/dist/actions/referring-domains.d.cts.map +1 -1
  272. package/dist/actions/referring-domains.d.mts +49 -3
  273. package/dist/actions/referring-domains.d.mts.map +1 -1
  274. package/dist/actions/referring-domains.mjs +1 -1
  275. package/dist/actions/referring-domains.mjs.map +1 -1
  276. package/dist/actions/referring-i-ps.cjs +1 -1
  277. package/dist/actions/referring-i-ps.cjs.map +1 -1
  278. package/dist/actions/referring-i-ps.d.cts +39 -3
  279. package/dist/actions/referring-i-ps.d.cts.map +1 -1
  280. package/dist/actions/referring-i-ps.d.mts +39 -3
  281. package/dist/actions/referring-i-ps.d.mts.map +1 -1
  282. package/dist/actions/referring-i-ps.mjs +1 -1
  283. package/dist/actions/referring-i-ps.mjs.map +1 -1
  284. package/dist/actions/related-keywords.cjs +1 -1
  285. package/dist/actions/related-keywords.cjs.map +1 -1
  286. package/dist/actions/related-keywords.d.cts +209 -3
  287. package/dist/actions/related-keywords.d.cts.map +1 -1
  288. package/dist/actions/related-keywords.d.mts +209 -3
  289. package/dist/actions/related-keywords.d.mts.map +1 -1
  290. package/dist/actions/related-keywords.mjs +1 -1
  291. package/dist/actions/related-keywords.mjs.map +1 -1
  292. package/dist/actions/tld-distribution.cjs +1 -1
  293. package/dist/actions/tld-distribution.cjs.map +1 -1
  294. package/dist/actions/tld-distribution.d.cts +32 -3
  295. package/dist/actions/tld-distribution.d.cts.map +1 -1
  296. package/dist/actions/tld-distribution.d.mts +32 -3
  297. package/dist/actions/tld-distribution.d.mts.map +1 -1
  298. package/dist/actions/tld-distribution.mjs +1 -1
  299. package/dist/actions/tld-distribution.mjs.map +1 -1
  300. package/dist/catalog.cjs +7 -1
  301. package/dist/catalog.cjs.map +1 -1
  302. package/dist/catalog.d.cts +8 -0
  303. package/dist/catalog.d.mts +8 -0
  304. package/dist/catalog.mjs +7 -1
  305. package/dist/catalog.mjs.map +1 -1
  306. package/dist/execute.cjs +1 -1
  307. package/dist/execute.cjs.map +1 -1
  308. package/dist/execute.mjs +1 -1
  309. package/dist/execute.mjs.map +1 -1
  310. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"anchors.cjs","names":["z","action"],"sources":["../../src/actions/anchors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAnchorsInput: z.ZodTypeAny = z.object({\n target: z.string().describe(\"Domain, root domain, or URL to analyze for its backlink anchor texts.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.\"),\n display_sort: z.enum([\"domains_num_asc\", \"domains_num_desc\", \"backlinks_num_asc\", \"backlinks_num_desc\", \"first_seen_asc\", \"first_seen_desc\", \"last_seen_asc\", \"last_seen_desc\"]).default(\"domains_num_desc\").describe(\"Sorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of anchor text entries to return.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of anchor text entries to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"anchor\", \"domains_num\", \"backlinks_num\", \"first_seen\", \"last_seen\"])).default([\"anchor\",\"domains_num\",\"backlinks_num\",\"first_seen\",\"last_seen\"]).describe(\"Columns to include in the report; defaults to all available columns if omitted.\").optional(),\n}).describe(\"Parameters for requesting an anchor text report.\");\nexport const SemrushAnchorsOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Anchor text report data as a CSV-formatted string.\"),\n}).describe(\"Anchor text report data from the API.\");\n\nexport const semrushAnchors = action(\"SEMRUSH_ANCHORS\", {\n slug: \"semrush-anchors\",\n name: \"Get anchor texts\",\n description: \"Use this action to get a CSV report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or URL.\",\n input: SemrushAnchorsInput,\n output: SemrushAnchorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAClI,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAqB;EAAsB;EAAkB;EAAmB;EAAiB;CAAgB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAClU,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAe;EAAiB;EAAc;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAc;EAAgB;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACzR,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAChF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,iBAAiBC,eAAAA,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"anchors.cjs","names":["z","action"],"sources":["../../src/actions/anchors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAnchorsInput = z.object({\n target: z.string().describe(\"Domain, root domain, or URL to analyze for its backlink anchor texts.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.\"),\n display_sort: z.enum([\"domains_num_asc\", \"domains_num_desc\", \"backlinks_num_asc\", \"backlinks_num_desc\", \"first_seen_asc\", \"first_seen_desc\", \"last_seen_asc\", \"last_seen_desc\"]).default(\"domains_num_desc\").describe(\"Sorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of anchor text entries to return.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of anchor text entries to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"anchor\", \"domains_num\", \"backlinks_num\", \"first_seen\", \"last_seen\"])).default([\"anchor\",\"domains_num\",\"backlinks_num\",\"first_seen\",\"last_seen\"]).describe(\"Columns to include in the report; defaults to all available columns if omitted.\").optional(),\n}).describe(\"Parameters for requesting an anchor text report.\");\nexport const SemrushAnchorsOutput = z.object({\n data: z.string().describe(\"Anchor text report data as a CSV-formatted string.\").nullable(),\n}).passthrough().describe(\"Anchor text report data from the API.\");\n\nexport const semrushAnchors = action(\"SEMRUSH_ANCHORS\", {\n slug: \"semrush-anchors\",\n name: \"Get anchor texts\",\n description: \"Use this action to get a CSV report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or URL.\",\n input: SemrushAnchorsInput,\n output: SemrushAnchorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAClI,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAqB;EAAsB;EAAkB;EAAmB;EAAiB;CAAgB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAClU,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAe;EAAiB;EAAc;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAc;EAAgB;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACzR,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,iBAAiBC,eAAAA,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/anchors.d.ts
4
- declare const SemrushAnchorsInput: z.ZodTypeAny;
5
- declare const SemrushAnchorsOutput: z.ZodTypeAny;
6
- declare const semrushAnchors: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SemrushAnchorsInput: z.ZodObject<{
5
+ target: z.ZodString;
6
+ target_type: z.ZodEnum<{
7
+ root_domain: "root_domain";
8
+ domain: "domain";
9
+ url: "url";
10
+ }>;
11
+ display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12
+ last_seen_asc: "last_seen_asc";
13
+ last_seen_desc: "last_seen_desc";
14
+ first_seen_asc: "first_seen_asc";
15
+ first_seen_desc: "first_seen_desc";
16
+ domains_num_asc: "domains_num_asc";
17
+ domains_num_desc: "domains_num_desc";
18
+ backlinks_num_asc: "backlinks_num_asc";
19
+ backlinks_num_desc: "backlinks_num_desc";
20
+ }>>>;
21
+ display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
22
+ display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
23
+ export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
24
+ anchor: "anchor";
25
+ last_seen: "last_seen";
26
+ first_seen: "first_seen";
27
+ domains_num: "domains_num";
28
+ backlinks_num: "backlinks_num";
29
+ }>>>>;
30
+ }, z.core.$strip>;
31
+ declare const SemrushAnchorsOutput: z.ZodObject<{
32
+ data: z.ZodNullable<z.ZodString>;
33
+ }, z.core.$loose>;
34
+ declare const semrushAnchors: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ target: string;
36
+ target_type: "root_domain" | "domain" | "url";
37
+ display_sort?: "last_seen_asc" | "last_seen_desc" | "first_seen_asc" | "first_seen_desc" | "domains_num_asc" | "domains_num_desc" | "backlinks_num_asc" | "backlinks_num_desc" | undefined;
38
+ display_limit?: number | undefined;
39
+ display_offset?: number | undefined;
40
+ export_columns?: ("anchor" | "last_seen" | "first_seen" | "domains_num" | "backlinks_num")[] | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { semrushAnchors };
9
44
  //# sourceMappingURL=anchors.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"anchors.d.cts","names":[],"sources":["../../src/actions/anchors.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAO2B;AAAA,cAClD,oBAAA,EAAsB,CAAA,CAAE,UAEe;AAAA,cAEvC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"anchors.d.cts","names":[],"sources":["../../src/actions/anchors.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -1,9 +1,44 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/anchors.d.ts
4
- declare const SemrushAnchorsInput: z.ZodTypeAny;
5
- declare const SemrushAnchorsOutput: z.ZodTypeAny;
6
- declare const semrushAnchors: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SemrushAnchorsInput: z.ZodObject<{
5
+ target: z.ZodString;
6
+ target_type: z.ZodEnum<{
7
+ root_domain: "root_domain";
8
+ domain: "domain";
9
+ url: "url";
10
+ }>;
11
+ display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12
+ last_seen_asc: "last_seen_asc";
13
+ last_seen_desc: "last_seen_desc";
14
+ first_seen_asc: "first_seen_asc";
15
+ first_seen_desc: "first_seen_desc";
16
+ domains_num_asc: "domains_num_asc";
17
+ domains_num_desc: "domains_num_desc";
18
+ backlinks_num_asc: "backlinks_num_asc";
19
+ backlinks_num_desc: "backlinks_num_desc";
20
+ }>>>;
21
+ display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
22
+ display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
23
+ export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
24
+ anchor: "anchor";
25
+ last_seen: "last_seen";
26
+ first_seen: "first_seen";
27
+ domains_num: "domains_num";
28
+ backlinks_num: "backlinks_num";
29
+ }>>>>;
30
+ }, z.core.$strip>;
31
+ declare const SemrushAnchorsOutput: z.ZodObject<{
32
+ data: z.ZodNullable<z.ZodString>;
33
+ }, z.core.$loose>;
34
+ declare const semrushAnchors: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ target: string;
36
+ target_type: "root_domain" | "domain" | "url";
37
+ display_sort?: "last_seen_asc" | "last_seen_desc" | "first_seen_asc" | "first_seen_desc" | "domains_num_asc" | "domains_num_desc" | "backlinks_num_asc" | "backlinks_num_desc" | undefined;
38
+ display_limit?: number | undefined;
39
+ display_offset?: number | undefined;
40
+ export_columns?: ("anchor" | "last_seen" | "first_seen" | "domains_num" | "backlinks_num")[] | undefined;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
42
  //#endregion
8
43
  export { semrushAnchors };
9
44
  //# sourceMappingURL=anchors.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"anchors.d.mts","names":[],"sources":["../../src/actions/anchors.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAO2B;AAAA,cAClD,oBAAA,EAAsB,CAAA,CAAE,UAEe;AAAA,cAEvC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"anchors.d.mts","names":[],"sources":["../../src/actions/anchors.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -37,7 +37,7 @@ const semrushAnchors = action("SEMRUSH_ANCHORS", {
37
37
  "last_seen"
38
38
  ]).describe("Columns to include in the report; defaults to all available columns if omitted.").optional()
39
39
  }).describe("Parameters for requesting an anchor text report."),
40
- output: z.object({ data: z.string().describe("Anchor text report data as a CSV-formatted string.") }).describe("Anchor text report data from the API.")
40
+ output: z.object({ data: z.string().describe("Anchor text report data as a CSV-formatted string.").nullable() }).passthrough().describe("Anchor text report data from the API.")
41
41
  });
42
42
  //#endregion
43
43
  export { semrushAnchors };
@@ -1 +1 @@
1
- {"version":3,"file":"anchors.mjs","names":[],"sources":["../../src/actions/anchors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAnchorsInput: z.ZodTypeAny = z.object({\n target: z.string().describe(\"Domain, root domain, or URL to analyze for its backlink anchor texts.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.\"),\n display_sort: z.enum([\"domains_num_asc\", \"domains_num_desc\", \"backlinks_num_asc\", \"backlinks_num_desc\", \"first_seen_asc\", \"first_seen_desc\", \"last_seen_asc\", \"last_seen_desc\"]).default(\"domains_num_desc\").describe(\"Sorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of anchor text entries to return.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of anchor text entries to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"anchor\", \"domains_num\", \"backlinks_num\", \"first_seen\", \"last_seen\"])).default([\"anchor\",\"domains_num\",\"backlinks_num\",\"first_seen\",\"last_seen\"]).describe(\"Columns to include in the report; defaults to all available columns if omitted.\").optional(),\n}).describe(\"Parameters for requesting an anchor text report.\");\nexport const SemrushAnchorsOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"Anchor text report data as a CSV-formatted string.\"),\n}).describe(\"Anchor text report data from the API.\");\n\nexport const semrushAnchors = action(\"SEMRUSH_ANCHORS\", {\n slug: \"semrush-anchors\",\n name: \"Get anchor texts\",\n description: \"Use this action to get a CSV report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or URL.\",\n input: SemrushAnchorsInput,\n output: SemrushAnchorsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACnG,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAClI,cAAc,EAAE,KAAK;GAAC;GAAmB;GAAoB;GAAqB;GAAsB;GAAkB;GAAmB;GAAiB;EAAgB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAClU,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAe;GAAiB;GAAc;EAAW,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAc;GAAgB;GAAa;EAAW,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACzR,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAChF,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"anchors.mjs","names":[],"sources":["../../src/actions/anchors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAnchorsInput = z.object({\n target: z.string().describe(\"Domain, root domain, or URL to analyze for its backlink anchor texts.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.\"),\n display_sort: z.enum([\"domains_num_asc\", \"domains_num_desc\", \"backlinks_num_asc\", \"backlinks_num_desc\", \"first_seen_asc\", \"first_seen_desc\", \"last_seen_asc\", \"last_seen_desc\"]).default(\"domains_num_desc\").describe(\"Sorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of anchor text entries to return.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of anchor text entries to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"anchor\", \"domains_num\", \"backlinks_num\", \"first_seen\", \"last_seen\"])).default([\"anchor\",\"domains_num\",\"backlinks_num\",\"first_seen\",\"last_seen\"]).describe(\"Columns to include in the report; defaults to all available columns if omitted.\").optional(),\n}).describe(\"Parameters for requesting an anchor text report.\");\nexport const SemrushAnchorsOutput = z.object({\n data: z.string().describe(\"Anchor text report data as a CSV-formatted string.\").nullable(),\n}).passthrough().describe(\"Anchor text report data from the API.\");\n\nexport const semrushAnchors = action(\"SEMRUSH_ANCHORS\", {\n slug: \"semrush-anchors\",\n name: \"Get anchor texts\",\n description: \"Use this action to get a CSV report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or URL.\",\n input: SemrushAnchorsInput,\n output: SemrushAnchorsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iBAAiB,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO;EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACnG,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAClI,cAAc,EAAE,KAAK;GAAC;GAAmB;GAAoB;GAAqB;GAAsB;GAAkB;GAAmB;GAAiB;EAAgB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAClU,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAe;GAAiB;GAAc;EAAW,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAc;GAAgB;GAAa;EAAW,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACzR,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const SemrushAuthorityScoreProfileInput = zod.z.object({
9
9
  "url"
10
10
  ]).describe("Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').")
11
11
  }).describe("Schema for providing the target and its type to retrieve the Authority Score profile.");
12
- const SemrushAuthorityScoreProfileOutput = zod.z.object({ data: zod.z.string().describe("A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.") }).describe("Schema for the response containing the Authority Score profile data.");
12
+ const SemrushAuthorityScoreProfileOutput = zod.z.object({ data: zod.z.string().describe("A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.").nullable() }).passthrough().describe("Schema for the response containing the Authority Score profile data.");
13
13
  const semrushAuthorityScoreProfile = require_action.action("SEMRUSH_AUTHORITY_SCORE_PROFILE", {
14
14
  slug: "semrush-authority-score-profile",
15
15
  name: "Get authority score profile",
@@ -1 +1 @@
1
- {"version":3,"file":"authority-score-profile.cjs","names":["z","action"],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput: z.ZodTypeAny = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\"),\n}).describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAC/M,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;AAC3R,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,EAChR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"authority-score-profile.cjs","names":["z","action"],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\").nullable(),\n}).passthrough().describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAC/M,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;AAC3R,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,EAC3R,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/authority-score-profile.d.ts
4
- declare const SemrushAuthorityScoreProfileInput: z.ZodTypeAny;
5
- declare const SemrushAuthorityScoreProfileOutput: z.ZodTypeAny;
6
- declare const semrushAuthorityScoreProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SemrushAuthorityScoreProfileInput: z.ZodObject<{
5
+ target: z.ZodString;
6
+ target_type: z.ZodEnum<{
7
+ root_domain: "root_domain";
8
+ domain: "domain";
9
+ url: "url";
10
+ }>;
11
+ }, z.core.$strip>;
12
+ declare const SemrushAuthorityScoreProfileOutput: z.ZodObject<{
13
+ data: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>;
15
+ declare const semrushAuthorityScoreProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ target: string;
17
+ target_type: "root_domain" | "domain" | "url";
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { semrushAuthorityScoreProfile };
9
21
  //# sourceMappingURL=authority-score-profile.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authority-score-profile.d.cts","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGkD;AAAA,cACvF,kCAAA,EAAoC,CAAA,CAAE,UAEgC;AAAA,cAEtE,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"authority-score-profile.d.cts","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/authority-score-profile.d.ts
4
- declare const SemrushAuthorityScoreProfileInput: z.ZodTypeAny;
5
- declare const SemrushAuthorityScoreProfileOutput: z.ZodTypeAny;
6
- declare const semrushAuthorityScoreProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SemrushAuthorityScoreProfileInput: z.ZodObject<{
5
+ target: z.ZodString;
6
+ target_type: z.ZodEnum<{
7
+ root_domain: "root_domain";
8
+ domain: "domain";
9
+ url: "url";
10
+ }>;
11
+ }, z.core.$strip>;
12
+ declare const SemrushAuthorityScoreProfileOutput: z.ZodObject<{
13
+ data: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>;
15
+ declare const semrushAuthorityScoreProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ target: string;
17
+ target_type: "root_domain" | "domain" | "url";
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { semrushAuthorityScoreProfile };
9
21
  //# sourceMappingURL=authority-score-profile.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authority-score-profile.d.mts","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGkD;AAAA,cACvF,kCAAA,EAAoC,CAAA,CAAE,UAEgC;AAAA,cAEtE,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"authority-score-profile.d.mts","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -12,7 +12,7 @@ const semrushAuthorityScoreProfile = action("SEMRUSH_AUTHORITY_SCORE_PROFILE", {
12
12
  "url"
13
13
  ]).describe("Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').")
14
14
  }).describe("Schema for providing the target and its type to retrieve the Authority Score profile."),
15
- output: z.object({ data: z.string().describe("A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.") }).describe("Schema for the response containing the Authority Score profile data.")
15
+ output: z.object({ data: z.string().describe("A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.").nullable() }).passthrough().describe("Schema for the response containing the Authority Score profile data.")
16
16
  });
17
17
  //#endregion
18
18
  export { semrushAuthorityScoreProfile };
@@ -1 +1 @@
1
- {"version":3,"file":"authority-score-profile.mjs","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput: z.ZodTypeAny = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\"),\n}).describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6D,EAAE,OAAO;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;EAC/M,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;CAC3R,CAAC,CAAC,CAAC,SAAS,uFASH;CACP,QAT8D,EAAE,OAAO,EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,EAChR,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"authority-score-profile.mjs","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\").nullable(),\n}).passthrough().describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;EAC/M,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;CAC3R,CAAC,CAAC,CAAC,SAAS,uFASH;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,EAC3R,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
@@ -40,7 +40,7 @@ const SemrushBacklinksOverviewInput = zod.z.object({
40
40
  "frames_num"
41
41
  ]).describe("Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.").optional()
42
42
  }).describe("Parameters for the Backlinks Overview action.");
43
- const SemrushBacklinksOverviewOutput = zod.z.object({ data: zod.z.string().describe("CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.") }).describe("Output of the Backlinks Overview action.");
43
+ const SemrushBacklinksOverviewOutput = zod.z.object({ data: zod.z.string().describe("CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.").nullable() }).passthrough().describe("Output of the Backlinks Overview action.");
44
44
  const semrushBacklinksOverview = require_action.action("SEMRUSH_BACKLINKS_OVERVIEW", {
45
45
  slug: "semrush-backlinks-overview",
46
46
  name: "Backlinks overview",
@@ -1 +1 @@
1
- {"version":3,"file":"backlinks-overview.cjs","names":["z","action"],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput: z.ZodTypeAny = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\"),\n}).describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtK,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACjI,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAe;EAAY;EAAW;EAAgB;EAAe;EAAiB;EAAiB;EAAW;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAQ;EAAc;EAAW;EAAU;EAAe;EAAc;EAAgB;EAAgB;EAAU;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;AACvkB,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAC3J,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"backlinks-overview.cjs","names":["z","action"],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).passthrough().describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtK,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACjI,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAe;EAAY;EAAW;EAAgB;EAAe;EAAiB;EAAiB;EAAW;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAQ;EAAc;EAAW;EAAU;EAAe;EAAc;EAAgB;EAAgB;EAAU;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;AACvkB,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/backlinks-overview.d.ts
4
- declare const SemrushBacklinksOverviewInput: z.ZodTypeAny;
5
- declare const SemrushBacklinksOverviewOutput: z.ZodTypeAny;
6
- declare const semrushBacklinksOverview: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SemrushBacklinksOverviewInput: z.ZodObject<{
5
+ target: z.ZodString;
6
+ target_type: z.ZodEnum<{
7
+ root_domain: "root_domain";
8
+ domain: "domain";
9
+ url: "url";
10
+ }>;
11
+ export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
12
+ domains_num: "domains_num";
13
+ ascore: "ascore";
14
+ total: "total";
15
+ urls_num: "urls_num";
16
+ ips_num: "ips_num";
17
+ ipclassc_num: "ipclassc_num";
18
+ follows_num: "follows_num";
19
+ nofollows_num: "nofollows_num";
20
+ sponsored_num: "sponsored_num";
21
+ ugc_num: "ugc_num";
22
+ texts_num: "texts_num";
23
+ images_num: "images_num";
24
+ forms_num: "forms_num";
25
+ frames_num: "frames_num";
26
+ }>>>>;
27
+ }, z.core.$strip>;
28
+ declare const SemrushBacklinksOverviewOutput: z.ZodObject<{
29
+ data: z.ZodNullable<z.ZodString>;
30
+ }, z.core.$loose>;
31
+ declare const semrushBacklinksOverview: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ target: string;
33
+ target_type: "root_domain" | "domain" | "url";
34
+ export_columns?: ("domains_num" | "ascore" | "total" | "urls_num" | "ips_num" | "ipclassc_num" | "follows_num" | "nofollows_num" | "sponsored_num" | "ugc_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { semrushBacklinksOverview };
9
38
  //# sourceMappingURL=backlinks-overview.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backlinks-overview.d.cts","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAIc;AAAA,cAC/C,8BAAA,EAAgC,CAAA,CAAE,UAEQ;AAAA,cAE1C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"backlinks-overview.d.cts","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/backlinks-overview.d.ts
4
- declare const SemrushBacklinksOverviewInput: z.ZodTypeAny;
5
- declare const SemrushBacklinksOverviewOutput: z.ZodTypeAny;
6
- declare const semrushBacklinksOverview: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SemrushBacklinksOverviewInput: z.ZodObject<{
5
+ target: z.ZodString;
6
+ target_type: z.ZodEnum<{
7
+ root_domain: "root_domain";
8
+ domain: "domain";
9
+ url: "url";
10
+ }>;
11
+ export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
12
+ domains_num: "domains_num";
13
+ ascore: "ascore";
14
+ total: "total";
15
+ urls_num: "urls_num";
16
+ ips_num: "ips_num";
17
+ ipclassc_num: "ipclassc_num";
18
+ follows_num: "follows_num";
19
+ nofollows_num: "nofollows_num";
20
+ sponsored_num: "sponsored_num";
21
+ ugc_num: "ugc_num";
22
+ texts_num: "texts_num";
23
+ images_num: "images_num";
24
+ forms_num: "forms_num";
25
+ frames_num: "frames_num";
26
+ }>>>>;
27
+ }, z.core.$strip>;
28
+ declare const SemrushBacklinksOverviewOutput: z.ZodObject<{
29
+ data: z.ZodNullable<z.ZodString>;
30
+ }, z.core.$loose>;
31
+ declare const semrushBacklinksOverview: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ target: string;
33
+ target_type: "root_domain" | "domain" | "url";
34
+ export_columns?: ("domains_num" | "ascore" | "total" | "urls_num" | "ips_num" | "ipclassc_num" | "follows_num" | "nofollows_num" | "sponsored_num" | "ugc_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { semrushBacklinksOverview };
9
38
  //# sourceMappingURL=backlinks-overview.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backlinks-overview.d.mts","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAIc;AAAA,cAC/C,8BAAA,EAAgC,CAAA,CAAE,UAEQ;AAAA,cAE1C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"backlinks-overview.d.mts","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -43,7 +43,7 @@ const semrushBacklinksOverview = action("SEMRUSH_BACKLINKS_OVERVIEW", {
43
43
  "frames_num"
44
44
  ]).describe("Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.").optional()
45
45
  }).describe("Parameters for the Backlinks Overview action."),
46
- output: z.object({ data: z.string().describe("CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.") }).describe("Output of the Backlinks Overview action.")
46
+ output: z.object({ data: z.string().describe("CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.").nullable() }).passthrough().describe("Output of the Backlinks Overview action.")
47
47
  });
48
48
  //#endregion
49
49
  export { semrushBacklinksOverview };
@@ -1 +1 @@
1
- {"version":3,"file":"backlinks-overview.mjs","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput: z.ZodTypeAny = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\"),\n}).describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyD,EAAE,OAAO;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACtK,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACjI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAS;GAAe;GAAY;GAAW;GAAgB;GAAe;GAAiB;GAAiB;GAAW;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAQ;GAAc;GAAW;GAAU;GAAe;GAAc;GAAgB;GAAgB;GAAU;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACvkB,CAAC,CAAC,CAAC,SAAS,+CASH;CACP,QAT0D,EAAE,OAAO,EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAC3J,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"backlinks-overview.mjs","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).passthrough().describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACtK,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACjI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAS;GAAe;GAAY;GAAW;GAAgB;GAAe;GAAiB;GAAiB;GAAW;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAQ;GAAc;GAAW;GAAU;GAAe;GAAc;GAAgB;GAAgB;GAAU;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACvkB,CAAC,CAAC,CAAC,SAAS,+CASH;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -77,7 +77,7 @@ const SemrushBacklinksInput = zod.z.object({
77
77
  "lostlink"
78
78
  ]).describe("Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.").optional()
79
79
  }).describe("Defines the parameters for requesting backlink data.");
80
- const SemrushBacklinksOutput = zod.z.object({ data: zod.z.string().describe("A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.") }).describe("Contains the response data from a `Backlinks` API request.");
80
+ const SemrushBacklinksOutput = zod.z.object({ data: zod.z.string().describe("A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.").nullable() }).passthrough().describe("Contains the response data from a `Backlinks` API request.");
81
81
  const semrushBacklinks = require_action.action("SEMRUSH_BACKLINKS", {
82
82
  slug: "semrush-backlinks",
83
83
  name: "Get backlinks",
@@ -1 +1 @@
1
- {"version":3,"file":"backlinks.cjs","names":["z","action"],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput: z.ZodTypeAny = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).describe(\"Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.\").optional(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput: z.ZodTypeAny = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\"),\n}).describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACxI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,oLAAoL;CACnP,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAiB;EAAkB;EAAkB;CAAiB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtO,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;CACzT,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAM;EAAa;EAAU;EAAW;EAAY;EAAa;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACxQ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC/L,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAiB;EAAe;EAAgB;EAAgB;EAAgB;EAAc;EAAgB;EAAa;EAAc;EAAgB;EAAU;EAAa;EAAa;EAAc;EAAY;EAAQ;EAAS;EAAS;EAAY;EAAW;CAAU,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAc;EAAgB;EAAc;EAAe;EAAe;EAAe;EAAa;EAAe;EAAY;EAAa;EAAe;EAAS;EAAY;EAAY;EAAa;EAAW;EAAO;EAAQ;EAAQ;EAAW;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;AAChyB,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,EAClI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,mBAAmBC,eAAAA,OAAO,qBAAqB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"backlinks.cjs","names":["z","action"],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).describe(\"Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.\").optional(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).passthrough().describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACxI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,oLAAoL;CACnP,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAiB;EAAkB;EAAkB;CAAiB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtO,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;CACzT,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAM;EAAa;EAAU;EAAW;EAAY;EAAa;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACxQ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC/L,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAiB;EAAe;EAAgB;EAAgB;EAAgB;EAAc;EAAgB;EAAa;EAAc;EAAgB;EAAU;EAAa;EAAa;EAAc;EAAY;EAAQ;EAAS;EAAS;EAAY;EAAW;CAAU,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAc;EAAgB;EAAc;EAAe;EAAe;EAAe;EAAa;EAAe;EAAY;EAAa;EAAe;EAAS;EAAY;EAAY;EAAa;EAAW;EAAO;EAAQ;EAAQ;EAAW;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;AAChyB,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,mBAAmBC,eAAAA,OAAO,qBAAqB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,71 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/backlinks.d.ts
4
- declare const SemrushBacklinksInput: z.ZodTypeAny;
5
- declare const SemrushBacklinksOutput: z.ZodTypeAny;
6
- declare const semrushBacklinks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SemrushBacklinksInput: z.ZodObject<{
5
+ target: z.ZodString;
6
+ target_type: z.ZodEnum<{
7
+ root_domain: "root_domain";
8
+ domain: "domain";
9
+ url: "url";
10
+ }>;
11
+ display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12
+ page_ascore_asc: "page_ascore_asc";
13
+ page_ascore_desc: "page_ascore_desc";
14
+ last_seen_asc: "last_seen_asc";
15
+ last_seen_desc: "last_seen_desc";
16
+ first_seen_asc: "first_seen_asc";
17
+ first_seen_desc: "first_seen_desc";
18
+ }>>>;
19
+ display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
20
+ display_filter: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
21
+ type: "type";
22
+ anchor: "anchor";
23
+ zone: "zone";
24
+ ip: "ip";
25
+ refdomain: "refdomain";
26
+ newlink: "newlink";
27
+ lostlink: "lostlink";
28
+ urlanchor: "urlanchor";
29
+ redirects: "redirects";
30
+ }>>>>;
31
+ display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
32
+ export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
33
+ anchor: "anchor";
34
+ newlink: "newlink";
35
+ lostlink: "lostlink";
36
+ page_ascore: "page_ascore";
37
+ response_code: "response_code";
38
+ source_size: "source_size";
39
+ external_num: "external_num";
40
+ internal_num: "internal_num";
41
+ redirect_url: "redirect_url";
42
+ source_url: "source_url";
43
+ source_title: "source_title";
44
+ image_url: "image_url";
45
+ target_url: "target_url";
46
+ target_title: "target_title";
47
+ image_alt: "image_alt";
48
+ last_seen: "last_seen";
49
+ first_seen: "first_seen";
50
+ nofollow: "nofollow";
51
+ form: "form";
52
+ frame: "frame";
53
+ image: "image";
54
+ sitewide: "sitewide";
55
+ }>>>>;
56
+ }, z.core.$strip>;
57
+ declare const SemrushBacklinksOutput: z.ZodObject<{
58
+ data: z.ZodNullable<z.ZodString>;
59
+ }, z.core.$loose>;
60
+ declare const semrushBacklinks: import("@keystrokehq/action").WorkflowActionDefinition<{
61
+ target: string;
62
+ target_type: "root_domain" | "domain" | "url";
63
+ display_sort?: "page_ascore_asc" | "page_ascore_desc" | "last_seen_asc" | "last_seen_desc" | "first_seen_asc" | "first_seen_desc" | undefined;
64
+ display_limit?: number | undefined;
65
+ display_filter?: ("type" | "anchor" | "zone" | "ip" | "refdomain" | "newlink" | "lostlink" | "urlanchor" | "redirects")[] | undefined;
66
+ display_offset?: number | undefined;
67
+ export_columns?: ("anchor" | "newlink" | "lostlink" | "page_ascore" | "response_code" | "source_size" | "external_num" | "internal_num" | "redirect_url" | "source_url" | "source_title" | "image_url" | "target_url" | "target_title" | "image_alt" | "last_seen" | "first_seen" | "nofollow" | "form" | "frame" | "image" | "sitewide")[] | undefined;
68
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
69
  //#endregion
8
70
  export { semrushBacklinks };
9
71
  //# sourceMappingURL=backlinks.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backlinks.d.cts","names":[],"sources":["../../src/actions/backlinks.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAQ6B;AAAA,cACtD,sBAAA,EAAwB,CAAA,CAAE,UAEkC;AAAA,cAE5D,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"backlinks.d.cts","names":[],"sources":["../../src/actions/backlinks.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}