@keystrokehq/semrush 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/actions/account-units-balance.cjs +1 -1
  2. package/dist/actions/account-units-balance.cjs.map +1 -1
  3. package/dist/actions/account-units-balance.d.cts +1 -1
  4. package/dist/actions/account-units-balance.d.mts +1 -1
  5. package/dist/actions/account-units-balance.mjs +1 -1
  6. package/dist/actions/account-units-balance.mjs.map +1 -1
  7. package/dist/actions/ads-copies.cjs +1 -1
  8. package/dist/actions/ads-copies.cjs.map +1 -1
  9. package/dist/actions/ads-copies.d.cts +1 -1
  10. package/dist/actions/ads-copies.d.mts +1 -1
  11. package/dist/actions/ads-copies.mjs +1 -1
  12. package/dist/actions/ads-copies.mjs.map +1 -1
  13. package/dist/actions/anchors.cjs +1 -1
  14. package/dist/actions/anchors.cjs.map +1 -1
  15. package/dist/actions/anchors.d.cts +10 -10
  16. package/dist/actions/anchors.d.mts +10 -10
  17. package/dist/actions/anchors.mjs +1 -1
  18. package/dist/actions/anchors.mjs.map +1 -1
  19. package/dist/actions/authority-score-profile.cjs +1 -1
  20. package/dist/actions/authority-score-profile.cjs.map +1 -1
  21. package/dist/actions/authority-score-profile.d.cts +1 -1
  22. package/dist/actions/authority-score-profile.d.mts +1 -1
  23. package/dist/actions/authority-score-profile.mjs +1 -1
  24. package/dist/actions/authority-score-profile.mjs.map +1 -1
  25. package/dist/actions/backlinks-overview.cjs +1 -1
  26. package/dist/actions/backlinks-overview.cjs.map +1 -1
  27. package/dist/actions/backlinks-overview.d.cts +8 -8
  28. package/dist/actions/backlinks-overview.d.mts +8 -8
  29. package/dist/actions/backlinks-overview.mjs +1 -1
  30. package/dist/actions/backlinks-overview.mjs.map +1 -1
  31. package/dist/actions/backlinks.cjs +1 -1
  32. package/dist/actions/backlinks.cjs.map +1 -1
  33. package/dist/actions/backlinks.d.cts +9 -9
  34. package/dist/actions/backlinks.d.mts +9 -9
  35. package/dist/actions/backlinks.mjs +1 -1
  36. package/dist/actions/backlinks.mjs.map +1 -1
  37. package/dist/actions/batch-comparison.cjs +1 -1
  38. package/dist/actions/batch-comparison.cjs.map +1 -1
  39. package/dist/actions/batch-comparison.d.cts +4 -4
  40. package/dist/actions/batch-comparison.d.mts +4 -4
  41. package/dist/actions/batch-comparison.mjs +1 -1
  42. package/dist/actions/batch-comparison.mjs.map +1 -1
  43. package/dist/actions/batch-keyword-overview.cjs +1 -1
  44. package/dist/actions/batch-keyword-overview.cjs.map +1 -1
  45. package/dist/actions/batch-keyword-overview.d.cts +1 -1
  46. package/dist/actions/batch-keyword-overview.d.mts +1 -1
  47. package/dist/actions/batch-keyword-overview.mjs +1 -1
  48. package/dist/actions/batch-keyword-overview.mjs.map +1 -1
  49. package/dist/actions/broad-match-keyword.cjs +1 -1
  50. package/dist/actions/broad-match-keyword.cjs.map +1 -1
  51. package/dist/actions/broad-match-keyword.d.cts +1 -1
  52. package/dist/actions/broad-match-keyword.d.mts +1 -1
  53. package/dist/actions/broad-match-keyword.mjs +1 -1
  54. package/dist/actions/broad-match-keyword.mjs.map +1 -1
  55. package/dist/actions/categories-profile.cjs +1 -1
  56. package/dist/actions/categories-profile.cjs.map +1 -1
  57. package/dist/actions/categories-profile.d.cts +1 -1
  58. package/dist/actions/categories-profile.d.mts +1 -1
  59. package/dist/actions/categories-profile.mjs +1 -1
  60. package/dist/actions/categories-profile.mjs.map +1 -1
  61. package/dist/actions/categories.cjs +1 -1
  62. package/dist/actions/categories.cjs.map +1 -1
  63. package/dist/actions/categories.d.cts +1 -1
  64. package/dist/actions/categories.d.mts +1 -1
  65. package/dist/actions/categories.mjs +1 -1
  66. package/dist/actions/categories.mjs.map +1 -1
  67. package/dist/actions/competitors-in-organic-search.cjs +1 -1
  68. package/dist/actions/competitors-in-organic-search.cjs.map +1 -1
  69. package/dist/actions/competitors-in-organic-search.d.cts +4 -4
  70. package/dist/actions/competitors-in-organic-search.d.mts +4 -4
  71. package/dist/actions/competitors-in-organic-search.mjs +1 -1
  72. package/dist/actions/competitors-in-organic-search.mjs.map +1 -1
  73. package/dist/actions/competitors-in-paid-search.cjs +1 -1
  74. package/dist/actions/competitors-in-paid-search.cjs.map +1 -1
  75. package/dist/actions/competitors-in-paid-search.d.cts +1 -1
  76. package/dist/actions/competitors-in-paid-search.d.mts +1 -1
  77. package/dist/actions/competitors-in-paid-search.mjs +1 -1
  78. package/dist/actions/competitors-in-paid-search.mjs.map +1 -1
  79. package/dist/actions/competitors.cjs +1 -1
  80. package/dist/actions/competitors.cjs.map +1 -1
  81. package/dist/actions/competitors.d.cts +4 -4
  82. package/dist/actions/competitors.d.mts +4 -4
  83. package/dist/actions/competitors.mjs +1 -1
  84. package/dist/actions/competitors.mjs.map +1 -1
  85. package/dist/actions/domain-ad-history.cjs +1 -1
  86. package/dist/actions/domain-ad-history.cjs.map +1 -1
  87. package/dist/actions/domain-ad-history.d.cts +5 -5
  88. package/dist/actions/domain-ad-history.d.mts +5 -5
  89. package/dist/actions/domain-ad-history.mjs +1 -1
  90. package/dist/actions/domain-ad-history.mjs.map +1 -1
  91. package/dist/actions/domain-organic-pages.cjs +1 -1
  92. package/dist/actions/domain-organic-pages.cjs.map +1 -1
  93. package/dist/actions/domain-organic-pages.d.cts +9 -9
  94. package/dist/actions/domain-organic-pages.d.mts +9 -9
  95. package/dist/actions/domain-organic-pages.mjs +1 -1
  96. package/dist/actions/domain-organic-pages.mjs.map +1 -1
  97. package/dist/actions/domain-organic-search-keywords.cjs +1 -1
  98. package/dist/actions/domain-organic-search-keywords.cjs.map +1 -1
  99. package/dist/actions/domain-organic-search-keywords.d.cts +14 -14
  100. package/dist/actions/domain-organic-search-keywords.d.mts +14 -14
  101. package/dist/actions/domain-organic-search-keywords.mjs +1 -1
  102. package/dist/actions/domain-organic-search-keywords.mjs.map +1 -1
  103. package/dist/actions/domain-organic-subdomains.cjs +1 -1
  104. package/dist/actions/domain-organic-subdomains.cjs.map +1 -1
  105. package/dist/actions/domain-organic-subdomains.d.cts +3 -3
  106. package/dist/actions/domain-organic-subdomains.d.mts +3 -3
  107. package/dist/actions/domain-organic-subdomains.mjs +1 -1
  108. package/dist/actions/domain-organic-subdomains.mjs.map +1 -1
  109. package/dist/actions/domain-paid-search-keywords.cjs +1 -1
  110. package/dist/actions/domain-paid-search-keywords.cjs.map +1 -1
  111. package/dist/actions/domain-paid-search-keywords.d.cts +10 -10
  112. package/dist/actions/domain-paid-search-keywords.d.mts +10 -10
  113. package/dist/actions/domain-paid-search-keywords.mjs +1 -1
  114. package/dist/actions/domain-paid-search-keywords.mjs.map +1 -1
  115. package/dist/actions/domain-pla-search-keywords.cjs +1 -1
  116. package/dist/actions/domain-pla-search-keywords.cjs.map +1 -1
  117. package/dist/actions/domain-pla-search-keywords.d.cts +1 -1
  118. package/dist/actions/domain-pla-search-keywords.d.mts +1 -1
  119. package/dist/actions/domain-pla-search-keywords.mjs +1 -1
  120. package/dist/actions/domain-pla-search-keywords.mjs.map +1 -1
  121. package/dist/actions/domain-vs-domain.cjs +1 -1
  122. package/dist/actions/domain-vs-domain.cjs.map +1 -1
  123. package/dist/actions/domain-vs-domain.d.cts +1 -1
  124. package/dist/actions/domain-vs-domain.d.mts +1 -1
  125. package/dist/actions/domain-vs-domain.mjs +1 -1
  126. package/dist/actions/domain-vs-domain.mjs.map +1 -1
  127. package/dist/actions/historical-data.cjs +1 -1
  128. package/dist/actions/historical-data.cjs.map +1 -1
  129. package/dist/actions/historical-data.d.cts +3 -3
  130. package/dist/actions/historical-data.d.mts +3 -3
  131. package/dist/actions/historical-data.mjs +1 -1
  132. package/dist/actions/historical-data.mjs.map +1 -1
  133. package/dist/actions/indexed-pages.cjs +1 -1
  134. package/dist/actions/indexed-pages.cjs.map +1 -1
  135. package/dist/actions/indexed-pages.d.cts +8 -8
  136. package/dist/actions/indexed-pages.d.mts +8 -8
  137. package/dist/actions/indexed-pages.mjs +1 -1
  138. package/dist/actions/indexed-pages.mjs.map +1 -1
  139. package/dist/actions/keyword-difficulty.cjs +1 -1
  140. package/dist/actions/keyword-difficulty.cjs.map +1 -1
  141. package/dist/actions/keyword-difficulty.d.cts +1 -1
  142. package/dist/actions/keyword-difficulty.d.mts +1 -1
  143. package/dist/actions/keyword-difficulty.mjs +1 -1
  144. package/dist/actions/keyword-difficulty.mjs.map +1 -1
  145. package/dist/actions/keyword-overview-all-databases.cjs +1 -1
  146. package/dist/actions/keyword-overview-all-databases.cjs.map +1 -1
  147. package/dist/actions/keyword-overview-all-databases.d.cts +1 -1
  148. package/dist/actions/keyword-overview-all-databases.d.mts +1 -1
  149. package/dist/actions/keyword-overview-all-databases.mjs +1 -1
  150. package/dist/actions/keyword-overview-all-databases.mjs.map +1 -1
  151. package/dist/actions/keyword-overview-one-database.cjs +1 -1
  152. package/dist/actions/keyword-overview-one-database.cjs.map +1 -1
  153. package/dist/actions/keyword-overview-one-database.d.cts +1 -1
  154. package/dist/actions/keyword-overview-one-database.d.mts +1 -1
  155. package/dist/actions/keyword-overview-one-database.mjs +1 -1
  156. package/dist/actions/keyword-overview-one-database.mjs.map +1 -1
  157. package/dist/actions/keywords-ads-history.cjs +1 -1
  158. package/dist/actions/keywords-ads-history.cjs.map +1 -1
  159. package/dist/actions/keywords-ads-history.d.cts +4 -4
  160. package/dist/actions/keywords-ads-history.d.mts +4 -4
  161. package/dist/actions/keywords-ads-history.mjs +1 -1
  162. package/dist/actions/keywords-ads-history.mjs.map +1 -1
  163. package/dist/actions/organic-results.cjs +1 -1
  164. package/dist/actions/organic-results.cjs.map +1 -1
  165. package/dist/actions/organic-results.d.cts +3 -3
  166. package/dist/actions/organic-results.d.mts +3 -3
  167. package/dist/actions/organic-results.mjs +1 -1
  168. package/dist/actions/organic-results.mjs.map +1 -1
  169. package/dist/actions/paid-results.cjs +1 -1
  170. package/dist/actions/paid-results.cjs.map +1 -1
  171. package/dist/actions/paid-results.d.cts +1 -1
  172. package/dist/actions/paid-results.d.mts +1 -1
  173. package/dist/actions/paid-results.mjs +1 -1
  174. package/dist/actions/paid-results.mjs.map +1 -1
  175. package/dist/actions/phrase-questions.cjs +1 -1
  176. package/dist/actions/phrase-questions.cjs.map +1 -1
  177. package/dist/actions/phrase-questions.d.cts +1 -1
  178. package/dist/actions/phrase-questions.d.mts +1 -1
  179. package/dist/actions/phrase-questions.mjs +1 -1
  180. package/dist/actions/phrase-questions.mjs.map +1 -1
  181. package/dist/actions/pla-competitors.cjs +1 -1
  182. package/dist/actions/pla-competitors.cjs.map +1 -1
  183. package/dist/actions/pla-competitors.d.cts +1 -1
  184. package/dist/actions/pla-competitors.d.mts +1 -1
  185. package/dist/actions/pla-competitors.mjs +1 -1
  186. package/dist/actions/pla-competitors.mjs.map +1 -1
  187. package/dist/actions/pla-copies.cjs +1 -1
  188. package/dist/actions/pla-copies.cjs.map +1 -1
  189. package/dist/actions/pla-copies.d.cts +1 -1
  190. package/dist/actions/pla-copies.d.mts +1 -1
  191. package/dist/actions/pla-copies.mjs +1 -1
  192. package/dist/actions/pla-copies.mjs.map +1 -1
  193. package/dist/actions/referring-domains-by-country.cjs +1 -1
  194. package/dist/actions/referring-domains-by-country.cjs.map +1 -1
  195. package/dist/actions/referring-domains-by-country.d.cts +3 -3
  196. package/dist/actions/referring-domains-by-country.d.mts +3 -3
  197. package/dist/actions/referring-domains-by-country.mjs +1 -1
  198. package/dist/actions/referring-domains-by-country.mjs.map +1 -1
  199. package/dist/actions/referring-domains.cjs +1 -1
  200. package/dist/actions/referring-domains.cjs.map +1 -1
  201. package/dist/actions/referring-domains.d.cts +10 -10
  202. package/dist/actions/referring-domains.d.mts +10 -10
  203. package/dist/actions/referring-domains.mjs +1 -1
  204. package/dist/actions/referring-domains.mjs.map +1 -1
  205. package/dist/actions/referring-i-ps.cjs +1 -1
  206. package/dist/actions/referring-i-ps.cjs.map +1 -1
  207. package/dist/actions/referring-i-ps.d.cts +11 -11
  208. package/dist/actions/referring-i-ps.d.mts +11 -11
  209. package/dist/actions/referring-i-ps.mjs +1 -1
  210. package/dist/actions/referring-i-ps.mjs.map +1 -1
  211. package/dist/actions/related-keywords.cjs +1 -1
  212. package/dist/actions/related-keywords.cjs.map +1 -1
  213. package/dist/actions/related-keywords.d.cts +1 -1
  214. package/dist/actions/related-keywords.d.mts +1 -1
  215. package/dist/actions/related-keywords.mjs +1 -1
  216. package/dist/actions/related-keywords.mjs.map +1 -1
  217. package/dist/actions/tld-distribution.cjs +1 -1
  218. package/dist/actions/tld-distribution.cjs.map +1 -1
  219. package/dist/actions/tld-distribution.d.cts +4 -4
  220. package/dist/actions/tld-distribution.d.mts +4 -4
  221. package/dist/actions/tld-distribution.mjs +1 -1
  222. package/dist/actions/tld-distribution.mjs.map +1 -1
  223. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"keyword-difficulty.cjs","names":["z","action"],"sources":["../../src/actions/keyword-difficulty.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordDifficultyInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to analyze for difficulty. Minor wording variations produce different KD scores; normalize phrases before comparing results.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'ca'). Refer to the Semrush API documentation for a complete list of valid database codes: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases.\"),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Kd\"])).default([\"Ph\",\"Kd\"]).describe(\"Specifies columns to include in the output (e.g., 'Ph' for Phrase, 'Kd' for Keyword Difficulty). Uses all available columns if omitted.\").optional(),\n});\nexport const SemrushKeywordDifficultyOutput = z.object({\n data: z.string().describe(\"The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.\").nullable(),\n}).describe(\"Contains the keyword difficulty report data from the Semrush API.\");\n\nexport const semrushKeywordDifficulty = action(\"SEMRUSH_KEYWORD_DIFFICULTY\", {\n slug: \"semrush-keyword-difficulty\",\n name: \"Get keyword difficulty\",\n description: \"Determines the Keyword Difficulty (KD) score (0-100, higher means greater difficulty) for a given phrase in a specific Semrush regional database to assess its SEO competitiveness. Returns CSV-formatted text; parse before programmatic use.\",\n input: SemrushKeywordDifficultyInput,\n output: SemrushKeywordDifficultyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACxL,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,2OAA2O;CACjxC,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7J,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAK,IAAI,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AAClO,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"keyword-difficulty.cjs","names":["z","action"],"sources":["../../src/actions/keyword-difficulty.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordDifficultyInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to analyze for difficulty. Minor wording variations produce different KD scores; normalize phrases before comparing results.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'ca'). Refer to the Semrush API documentation for a complete list of valid database codes: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases.\"),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Kd\"])).default([\"Ph\",\"Kd\"]).describe(\"Specifies columns to include in the output (e.g., 'Ph' for Phrase, 'Kd' for Keyword Difficulty). Uses all available columns if omitted.\").optional(),\n});\nexport const SemrushKeywordDifficultyOutput = z.object({\n data: z.string().describe(\"The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.\").nullable(),\n}).passthrough().describe(\"Contains the keyword difficulty report data from the Semrush API.\");\n\nexport const semrushKeywordDifficulty = action(\"SEMRUSH_KEYWORD_DIFFICULTY\", {\n slug: \"semrush-keyword-difficulty\",\n name: \"Get keyword difficulty\",\n description: \"Determines the Keyword Difficulty (KD) score (0-100, higher means greater difficulty) for a given phrase in a specific Semrush regional database to assess its SEO competitiveness. Returns CSV-formatted text; parse before programmatic use.\",\n input: SemrushKeywordDifficultyInput,\n output: SemrushKeywordDifficultyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACxL,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,2OAA2O;CACjxC,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC7J,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAK,IAAI,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AAClO,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -159,7 +159,7 @@ declare const SemrushKeywordDifficultyInput: z.ZodObject<{
159
159
  }, z.core.$strip>;
160
160
  declare const SemrushKeywordDifficultyOutput: z.ZodObject<{
161
161
  data: z.ZodNullable<z.ZodString>;
162
- }, z.core.$strip>;
162
+ }, z.core.$loose>;
163
163
  declare const semrushKeywordDifficulty: import("@keystrokehq/action").WorkflowActionDefinition<{
164
164
  phrase: string;
165
165
  database: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
@@ -159,7 +159,7 @@ declare const SemrushKeywordDifficultyInput: z.ZodObject<{
159
159
  }, z.core.$strip>;
160
160
  declare const SemrushKeywordDifficultyOutput: z.ZodObject<{
161
161
  data: z.ZodNullable<z.ZodString>;
162
- }, z.core.$strip>;
162
+ }, z.core.$loose>;
163
163
  declare const semrushKeywordDifficulty: import("@keystrokehq/action").WorkflowActionDefinition<{
164
164
  phrase: string;
165
165
  database: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
@@ -157,7 +157,7 @@ const semrushKeywordDifficulty = action("SEMRUSH_KEYWORD_DIFFICULTY", {
157
157
  export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe("Set to 1 to wrap output columns in double quotes (\"), or 0 to disable.").optional(),
158
158
  export_columns: z.array(z.enum(["Ph", "Kd"])).default(["Ph", "Kd"]).describe("Specifies columns to include in the output (e.g., 'Ph' for Phrase, 'Kd' for Keyword Difficulty). Uses all available columns if omitted.").optional()
159
159
  }),
160
- output: z.object({ data: z.string().describe("The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.").nullable() }).describe("Contains the keyword difficulty report data from the Semrush API.")
160
+ output: z.object({ data: z.string().describe("The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.").nullable() }).passthrough().describe("Contains the keyword difficulty report data from the Semrush API.")
161
161
  });
162
162
  //#endregion
163
163
  export { semrushKeywordDifficulty };
@@ -1 +1 @@
1
- {"version":3,"file":"keyword-difficulty.mjs","names":[],"sources":["../../src/actions/keyword-difficulty.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordDifficultyInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to analyze for difficulty. Minor wording variations produce different KD scores; normalize phrases before comparing results.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'ca'). Refer to the Semrush API documentation for a complete list of valid database codes: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases.\"),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Kd\"])).default([\"Ph\",\"Kd\"]).describe(\"Specifies columns to include in the output (e.g., 'Ph' for Phrase, 'Kd' for Keyword Difficulty). Uses all available columns if omitted.\").optional(),\n});\nexport const SemrushKeywordDifficultyOutput = z.object({\n data: z.string().describe(\"The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.\").nullable(),\n}).describe(\"Contains the keyword difficulty report data from the Semrush API.\");\n\nexport const semrushKeywordDifficulty = action(\"SEMRUSH_KEYWORD_DIFFICULTY\", {\n slug: \"semrush-keyword-difficulty\",\n name: \"Get keyword difficulty\",\n description: \"Determines the Keyword Difficulty (KD) score (0-100, higher means greater difficulty) for a given phrase in a specific Semrush regional database to assess its SEO competitiveness. Returns CSV-formatted text; parse before programmatic use.\",\n input: SemrushKeywordDifficultyInput,\n output: SemrushKeywordDifficultyOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACxL,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;GAA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{"version":3,"file":"keyword-difficulty.mjs","names":[],"sources":["../../src/actions/keyword-difficulty.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordDifficultyInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to analyze for difficulty. Minor wording variations produce different KD scores; normalize phrases before comparing results.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'ca'). Refer to the Semrush API documentation for a complete list of valid database codes: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases.\"),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Kd\"])).default([\"Ph\",\"Kd\"]).describe(\"Specifies columns to include in the output (e.g., 'Ph' for Phrase, 'Kd' for Keyword Difficulty). Uses all available columns if omitted.\").optional(),\n});\nexport const SemrushKeywordDifficultyOutput = z.object({\n data: z.string().describe(\"The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.\").nullable(),\n}).passthrough().describe(\"Contains the keyword difficulty report data from the Semrush API.\");\n\nexport const semrushKeywordDifficulty = action(\"SEMRUSH_KEYWORD_DIFFICULTY\", {\n slug: \"semrush-keyword-difficulty\",\n name: \"Get keyword difficulty\",\n description: \"Determines the Keyword Difficulty (KD) score (0-100, higher means greater difficulty) for a given phrase in a specific Semrush regional database to assess its SEO competitiveness. Returns CSV-formatted text; parse before programmatic use.\",\n input: SemrushKeywordDifficultyInput,\n output: SemrushKeywordDifficultyOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACxL,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;G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@ -175,7 +175,7 @@ const SemrushKeywordOverviewAllDatabasesInput = zod.z.object({
175
175
  "Kd"
176
176
  ]).describe("Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).").optional()
177
177
  });
178
- const SemrushKeywordOverviewAllDatabasesOutput = zod.z.object({ keyword_data: zod.z.string().describe("Raw text response from the API with keyword overview data, typically CSV formatted.").nullable() });
178
+ const SemrushKeywordOverviewAllDatabasesOutput = zod.z.object({ keyword_data: zod.z.string().describe("Raw text response from the API with keyword overview data, typically CSV formatted.").nullable() }).passthrough();
179
179
  const semrushKeywordOverviewAllDatabases = require_action.action("SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES", {
180
180
  slug: "semrush-keyword-overview-all-databases",
181
181
  name: "Keyword overview all databases",
@@ -1 +1 @@
1
- {"version":3,"file":"keyword-overview-all-databases.cjs","names":["z","action"],"sources":["../../src/actions/keyword-overview-all-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewAllDatabasesInput = z.object({\n phrase: z.string().describe(\"Keyword or keyword phrase 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 query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.\").optional(),\n export_decode: z.number().int().default(1).describe(\"Set to 1 for a URL-decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Dt\", \"Db\", \"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"In\", \"Kd\"])).default([\"Dt\",\"Db\",\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).\").optional(),\n});\nexport const SemrushKeywordOverviewAllDatabasesOutput = z.object({\n keyword_data: z.string().describe(\"Raw text response from the API with keyword overview data, typically CSV formatted.\").nullable(),\n});\n\nexport const semrushKeywordOverviewAllDatabases = action(\"SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES\", {\n slug: \"semrush-keyword-overview-all-databases\",\n name: \"Keyword overview all databases\",\n description: \"Fetches a keyword overview from Semrush for a specified phrase, including metrics like search volume, CPC, and competition. Response is returned as a CSV-like string; parse headers and rows into a structured table before extracting values like Nq, Cp, or Kd.\",\n input: SemrushKeywordOverviewAllDatabasesInput,\n output: SemrushKeywordOverviewAllDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,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,2GAA2G,CAAC,CAAC,SAAS;CAC5pC,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrJ,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,uPAAuP,CAAC,CAAC,SAAS;AAC7Z,CAAC;AACD,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EACpI,CAAC;AAED,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"keyword-overview-all-databases.cjs","names":["z","action"],"sources":["../../src/actions/keyword-overview-all-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewAllDatabasesInput = z.object({\n phrase: z.string().describe(\"Keyword or keyword phrase 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 query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.\").optional(),\n export_decode: z.number().int().default(1).describe(\"Set to 1 for a URL-decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Dt\", \"Db\", \"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"In\", \"Kd\"])).default([\"Dt\",\"Db\",\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).\").optional(),\n});\nexport const SemrushKeywordOverviewAllDatabasesOutput = z.object({\n keyword_data: z.string().describe(\"Raw text response from the API with keyword overview data, typically CSV formatted.\").nullable(),\n}).passthrough();\n\nexport const semrushKeywordOverviewAllDatabases = action(\"SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES\", {\n slug: \"semrush-keyword-overview-all-databases\",\n name: \"Keyword overview all databases\",\n description: \"Fetches a keyword overview from Semrush for a specified phrase, including metrics like search volume, CPC, and competition. Response is returned as a CSV-like string; parse headers and rows into a structured table before extracting values like Nq, Cp, or Kd.\",\n input: SemrushKeywordOverviewAllDatabasesInput,\n output: SemrushKeywordOverviewAllDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,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;EAA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;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,uPAAuP,CAAC,CAAC,SAAS;AAC7Z,CAAC;AACD,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -167,7 +167,7 @@ declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
167
167
  }, z.core.$strip>;
168
168
  declare const SemrushKeywordOverviewAllDatabasesOutput: z.ZodObject<{
169
169
  keyword_data: z.ZodNullable<z.ZodString>;
170
- }, z.core.$strip>;
170
+ }, z.core.$loose>;
171
171
  declare const semrushKeywordOverviewAllDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
172
172
  phrase: string;
173
173
  database?: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa" | undefined;
@@ -167,7 +167,7 @@ declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
167
167
  }, z.core.$strip>;
168
168
  declare const SemrushKeywordOverviewAllDatabasesOutput: z.ZodObject<{
169
169
  keyword_data: z.ZodNullable<z.ZodString>;
170
- }, z.core.$strip>;
170
+ }, z.core.$loose>;
171
171
  declare const semrushKeywordOverviewAllDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
172
172
  phrase: string;
173
173
  database?: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa" | undefined;
@@ -178,7 +178,7 @@ const semrushKeywordOverviewAllDatabases = action("SEMRUSH_KEYWORD_OVERVIEW_ALL_
178
178
  "Kd"
179
179
  ]).describe("Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).").optional()
180
180
  }),
181
- output: z.object({ keyword_data: z.string().describe("Raw text response from the API with keyword overview data, typically CSV formatted.").nullable() })
181
+ output: z.object({ keyword_data: z.string().describe("Raw text response from the API with keyword overview data, typically CSV formatted.").nullable() }).passthrough()
182
182
  });
183
183
  //#endregion
184
184
  export { semrushKeywordOverviewAllDatabases };
@@ -1 +1 @@
1
- {"version":3,"file":"keyword-overview-all-databases.mjs","names":[],"sources":["../../src/actions/keyword-overview-all-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewAllDatabasesInput = z.object({\n phrase: z.string().describe(\"Keyword or keyword phrase 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 query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.\").optional(),\n export_decode: z.number().int().default(1).describe(\"Set to 1 for a URL-decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Dt\", \"Db\", \"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"In\", \"Kd\"])).default([\"Dt\",\"Db\",\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).\").optional(),\n});\nexport const SemrushKeywordOverviewAllDatabasesOutput = z.object({\n keyword_data: z.string().describe(\"Raw text response from the API with keyword overview data, typically CSV formatted.\").nullable(),\n});\n\nexport const semrushKeywordOverviewAllDatabases = action(\"SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES\", {\n slug: \"semrush-keyword-overview-all-databases\",\n name: \"Keyword overview all databases\",\n description: \"Fetches a keyword overview from Semrush for a specified phrase, including metrics like search volume, CPC, and competition. Response is returned as a CSV-like string; parse headers and rows into a structured table before extracting values like Nq, Cp, or Kd.\",\n input: SemrushKeywordOverviewAllDatabasesInput,\n output: SemrushKeywordOverviewAllDatabasesOutput,\n});\n"],"mappings":";;AAeA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;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ases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewAllDatabasesInput = z.object({\n phrase: z.string().describe(\"Keyword or keyword phrase 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 query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.\").optional(),\n export_decode: z.number().int().default(1).describe(\"Set to 1 for a URL-decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Dt\", \"Db\", \"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"In\", \"Kd\"])).default([\"Dt\",\"Db\",\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).\").optional(),\n});\nexport const SemrushKeywordOverviewAllDatabasesOutput = z.object({\n keyword_data: z.string().describe(\"Raw text response from the API with keyword overview data, typically CSV formatted.\").nullable(),\n}).passthrough();\n\nexport const semrushKeywordOverviewAllDatabases = action(\"SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES\", {\n slug: \"semrush-keyword-overview-all-databases\",\n name: \"Keyword overview all databases\",\n description: \"Fetches a keyword overview from Semrush for a specified phrase, including metrics like search volume, CPC, and competition. Response is returned as a CSV-like string; parse headers and rows into a structured table before extracting values like Nq, Cp, or Kd.\",\n input: SemrushKeywordOverviewAllDatabasesInput,\n output: SemrushKeywordOverviewAllDatabasesOutput,\n});\n"],"mappings":";;AAeA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM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AI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,uPAAuP,CAAC,CAAC,SAAS;CAC7Z,CASS;CACP,QATsD,EAAE,OAAO,EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -174,7 +174,7 @@ const SemrushKeywordOverviewOneDatabaseInput = zod.z.object({
174
174
  "Kd"
175
175
  ]).describe("A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).").optional()
176
176
  });
177
- const SemrushKeywordOverviewOneDatabaseOutput = zod.z.object({ keyword_data: zod.z.string().describe("The keyword overview data, typically returned in CSV string format.").nullable() });
177
+ const SemrushKeywordOverviewOneDatabaseOutput = zod.z.object({ keyword_data: zod.z.string().describe("The keyword overview data, typically returned in CSV string format.").nullable() }).passthrough();
178
178
  const semrushKeywordOverviewOneDatabase = require_action.action("SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE", {
179
179
  slug: "semrush-keyword-overview-one-database",
180
180
  name: "Get keyword overview for one database",
@@ -1 +1 @@
1
- {"version":3,"file":"keyword-overview-one-database.cjs","names":["z","action"],"sources":["../../src/actions/keyword-overview-one-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewOneDatabaseInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase 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(\"A regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).\"),\n display_date: z.string().describe(\"Optional. Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 1 (default), the report’s columns will be wrapped in double quotation marks (\\\"). Set to 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).\").optional(),\n});\nexport const SemrushKeywordOverviewOneDatabaseOutput = z.object({\n keyword_data: z.string().describe(\"The keyword overview data, typically returned in CSV string format.\").nullable(),\n});\n\nexport const semrushKeywordOverviewOneDatabase = action(\"SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE\", {\n slug: \"semrush-keyword-overview-one-database\",\n name: \"Get keyword overview for one database\",\n description: \"Fetches a keyword summary for a specified phrase from a chosen regional database. Returns CSV-like text (not JSON) with column headers matching `export_columns` codes (e.g., 'Ph', 'Nq', 'Kd'); parse headers and rows into structured data before use. A plain-text 'ERROR 50 :: NOTHING FOUND' response indicates zero results, not a transport error.\",\n input: SemrushKeywordOverviewOneDatabaseInput,\n output: SemrushKeywordOverviewOneDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC3E,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;E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,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACtM,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,2dAA2d,CAAC,CAAC,SAAS;AACtnB,CAAC;AACD,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EACpH,CAAC;AAED,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"keyword-overview-one-database.cjs","names":["z","action"],"sources":["../../src/actions/keyword-overview-one-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewOneDatabaseInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase 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(\"A regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).\"),\n display_date: z.string().describe(\"Optional. Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 1 (default), the report’s columns will be wrapped in double quotation marks (\\\"). Set to 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).\").optional(),\n});\nexport const SemrushKeywordOverviewOneDatabaseOutput = z.object({\n keyword_data: z.string().describe(\"The keyword overview data, typically returned in CSV string format.\").nullable(),\n}).passthrough();\n\nexport const semrushKeywordOverviewOneDatabase = action(\"SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE\", {\n slug: \"semrush-keyword-overview-one-database\",\n name: \"Get keyword overview for one database\",\n description: \"Fetches a keyword summary for a specified phrase from a chosen regional database. Returns CSV-like text (not JSON) with column headers matching `export_columns` codes (e.g., 'Ph', 'Nq', 'Kd'); parse headers and rows into structured data before use. A plain-text 'ERROR 50 :: NOTHING FOUND' response indicates zero results, not a transport error.\",\n input: SemrushKeywordOverviewOneDatabaseInput,\n output: SemrushKeywordOverviewOneDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,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;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AA2d,CAAC,CAAC,SAAS;AACtnB,CAAC;AACD,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -167,7 +167,7 @@ declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
167
167
  }, z.core.$strip>;
168
168
  declare const SemrushKeywordOverviewOneDatabaseOutput: z.ZodObject<{
169
169
  keyword_data: z.ZodNullable<z.ZodString>;
170
- }, z.core.$strip>;
170
+ }, z.core.$loose>;
171
171
  declare const semrushKeywordOverviewOneDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
172
172
  phrase: string;
173
173
  database: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
@@ -167,7 +167,7 @@ declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
167
167
  }, z.core.$strip>;
168
168
  declare const SemrushKeywordOverviewOneDatabaseOutput: z.ZodObject<{
169
169
  keyword_data: z.ZodNullable<z.ZodString>;
170
- }, z.core.$strip>;
170
+ }, z.core.$loose>;
171
171
  declare const semrushKeywordOverviewOneDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
172
172
  phrase: string;
173
173
  database: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
@@ -177,7 +177,7 @@ const semrushKeywordOverviewOneDatabase = action("SEMRUSH_KEYWORD_OVERVIEW_ONE_D
177
177
  "Kd"
178
178
  ]).describe("A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).").optional()
179
179
  }),
180
- output: z.object({ keyword_data: z.string().describe("The keyword overview data, typically returned in CSV string format.").nullable() })
180
+ output: z.object({ keyword_data: z.string().describe("The keyword overview data, typically returned in CSV string format.").nullable() }).passthrough()
181
181
  });
182
182
  //#endregion
183
183
  export { semrushKeywordOverviewOneDatabase };
@@ -1 +1 @@
1
- {"version":3,"file":"keyword-overview-one-database.mjs","names":[],"sources":["../../src/actions/keyword-overview-one-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewOneDatabaseInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase 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(\"A regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).\"),\n display_date: z.string().describe(\"Optional. Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 1 (default), the report’s columns will be wrapped in double quotation marks (\\\"). Set to 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).\").optional(),\n});\nexport const SemrushKeywordOverviewOneDatabaseOutput = z.object({\n keyword_data: z.string().describe(\"The keyword overview data, typically returned in CSV string format.\").nullable(),\n});\n\nexport const semrushKeywordOverviewOneDatabase = action(\"SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE\", {\n slug: \"semrush-keyword-overview-one-database\",\n name: \"Get keyword overview for one database\",\n description: \"Fetches a keyword summary for a specified phrase from a chosen regional database. Returns CSV-like text (not JSON) with column headers matching `export_columns` codes (e.g., 'Ph', 'Nq', 'Kd'); parse headers and rows into structured data before use. A plain-text 'ERROR 50 :: NOTHING FOUND' response indicates zero results, not a transport error.\",\n input: SemrushKeywordOverviewOneDatabaseInput,\n output: SemrushKeywordOverviewOneDatabaseOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO;EAC7D,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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M;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,2dAA2d,CAAC,CAAC,SAAS;CACtnB,CASS;CACP,QATqD,EAAE,OAAO,EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EACpH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"keyword-overview-one-database.mjs","names":[],"sources":["../../src/actions/keyword-overview-one-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewOneDatabaseInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase 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(\"A regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).\"),\n display_date: z.string().describe(\"Optional. Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 1 (default), the report’s columns will be wrapped in double quotation marks (\\\"). Set to 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).\").optional(),\n});\nexport const SemrushKeywordOverviewOneDatabaseOutput = z.object({\n keyword_data: z.string().describe(\"The keyword overview data, typically returned in CSV string format.\").nullable(),\n}).passthrough();\n\nexport const semrushKeywordOverviewOneDatabase = action(\"SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE\", {\n slug: \"semrush-keyword-overview-one-database\",\n name: \"Get keyword overview for one database\",\n description: \"Fetches a keyword summary for a specified phrase from a chosen regional database. Returns CSV-like text (not JSON) with column headers matching `export_columns` codes (e.g., 'Ph', 'Nq', 'Kd'); parse headers and rows into structured data before use. A plain-text 'ERROR 50 :: NOTHING FOUND' response indicates zero results, not a transport error.\",\n input: SemrushKeywordOverviewOneDatabaseInput,\n output: SemrushKeywordOverviewOneDatabaseOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO;EAC7D,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;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAiB;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,0OAA0O;EAChxC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;EAC9N,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC1M,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACtM,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,2dAA2d,CAAC,CAAC,SAAS;CACtnB,CASS;CACP,QATqD,EAAE,OAAO,EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -180,7 +180,7 @@ const SemrushKeywordsAdsHistoryInput = zod.z.object({
180
180
  "Ad"
181
181
  ]).describe("Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.").optional()
182
182
  });
183
- const SemrushKeywordsAdsHistoryOutput = zod.z.object({ data: zod.z.string().describe("Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.").nullable() }).describe("Contains the raw keyword ads history report data.");
183
+ const SemrushKeywordsAdsHistoryOutput = zod.z.object({ data: zod.z.string().describe("Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.").nullable() }).passthrough().describe("Contains the raw keyword ads history report data.");
184
184
  const semrushKeywordsAdsHistory = require_action.action("SEMRUSH_KEYWORDS_ADS_HISTORY", {
185
185
  slug: "semrush-keywords-ads-history",
186
186
  name: "Get keywords ads history",
@@ -1 +1 @@
1
- {"version":3,"file":"keywords-ads-history.cjs","names":["z","action"],"sources":["../../src/actions/keywords-ads-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordsAdsHistoryInput = z.object({\n phrase: z.string().describe(\"Keyword or phrase for historical advertising data analysis.\"),\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 query.\"),\n display_date: z.string().describe(\"Specifies a past month for data retrieval, formatted as 'YYYYMM15'. If omitted, returns most recent period's data.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results (lines) to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 for a non-URL-encoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Dn\", \"Dt\", \"Po\", \"Ur\", \"Tt\", \"Ds\", \"Vu\", \"At\", \"Ac\", \"Ad\"]).describe(\"Available columns for Keywords Ads History. Codes: Dn (Domain name), Dt (Domain type), Po (Ad position), Ur (Landing page URL), Tt (Ad title), Ds (Ad text), Vu (Visible URL), At (Ad type), Ac (Number of ads for domain/keyword/date), Ad (Ad features).\")).default([\"Dn\",\"Dt\",\"Po\",\"Ur\",\"Tt\",\"Ds\",\"Vu\",\"At\",\"Ac\",\"Ad\"]).describe(\"Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.\").optional(),\n});\nexport const SemrushKeywordsAdsHistoryOutput = z.object({\n data: z.string().describe(\"Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.\").nullable(),\n}).describe(\"Contains the raw keyword ads history report data.\");\n\nexport const semrushKeywordsAdsHistory = action(\"SEMRUSH_KEYWORDS_ADS_HISTORY\", {\n slug: \"semrush-keywords-ads-history\",\n name: \"Get keywords ads history\",\n description: \"Fetches a historical report (last 12 months) of domains advertising on a specified keyword in Google Ads, optionally for a specific month ('YYYYMM15') or the most recent period, returning raw CSV-like data.\",\n input: SemrushKeywordsAdsHistoryInput,\n output: SemrushKeywordsAdsHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACzF,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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;AAC5iB,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"keywords-ads-history.cjs","names":["z","action"],"sources":["../../src/actions/keywords-ads-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordsAdsHistoryInput = z.object({\n phrase: z.string().describe(\"Keyword or phrase for historical advertising data analysis.\"),\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 query.\"),\n display_date: z.string().describe(\"Specifies a past month for data retrieval, formatted as 'YYYYMM15'. If omitted, returns most recent period's data.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results (lines) to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 for a non-URL-encoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Dn\", \"Dt\", \"Po\", \"Ur\", \"Tt\", \"Ds\", \"Vu\", \"At\", \"Ac\", \"Ad\"]).describe(\"Available columns for Keywords Ads History. Codes: Dn (Domain name), Dt (Domain type), Po (Ad position), Ur (Landing page URL), Tt (Ad title), Ds (Ad text), Vu (Visible URL), At (Ad type), Ac (Number of ads for domain/keyword/date), Ad (Ad features).\")).default([\"Dn\",\"Dt\",\"Po\",\"Ur\",\"Tt\",\"Ds\",\"Vu\",\"At\",\"Ac\",\"Ad\"]).describe(\"Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.\").optional(),\n});\nexport const SemrushKeywordsAdsHistoryOutput = z.object({\n data: z.string().describe(\"Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.\").nullable(),\n}).passthrough().describe(\"Contains the raw keyword ads history report data.\");\n\nexport const semrushKeywordsAdsHistory = action(\"SEMRUSH_KEYWORDS_ADS_HISTORY\", {\n slug: \"semrush-keywords-ads-history\",\n name: \"Get keywords ads history\",\n description: \"Fetches a historical report (last 12 months) of domains advertising on a specified keyword in Google Ads, optionally for a specific month ('YYYYMM15') or the most recent period, returning raw CSV-like data.\",\n input: SemrushKeywordsAdsHistoryInput,\n output: SemrushKeywordsAdsHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACzF,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;EA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CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -161,17 +161,17 @@ declare const SemrushKeywordsAdsHistoryInput: z.ZodObject<{
161
161
  Ds: "Ds";
162
162
  Vu: "Vu";
163
163
  Ur: "Ur";
164
+ Dt: "Dt";
165
+ Po: "Po";
164
166
  Dn: "Dn";
165
167
  Ad: "Ad";
166
168
  At: "At";
167
169
  Ac: "Ac";
168
- Dt: "Dt";
169
- Po: "Po";
170
170
  }>>>>;
171
171
  }, z.core.$strip>;
172
172
  declare const SemrushKeywordsAdsHistoryOutput: z.ZodObject<{
173
173
  data: z.ZodNullable<z.ZodString>;
174
- }, z.core.$strip>;
174
+ }, z.core.$loose>;
175
175
  declare const semrushKeywordsAdsHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
176
176
  phrase: string;
177
177
  database: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
@@ -180,7 +180,7 @@ declare const semrushKeywordsAdsHistory: import("@keystrokehq/action").WorkflowA
180
180
  export_decode?: 0 | 1 | undefined;
181
181
  export_escape?: 0 | 1 | undefined;
182
182
  display_offset?: number | undefined;
183
- export_columns?: ("Tt" | "Ds" | "Vu" | "Ur" | "Dn" | "Ad" | "At" | "Ac" | "Dt" | "Po")[] | undefined;
183
+ export_columns?: ("Tt" | "Ds" | "Vu" | "Ur" | "Dt" | "Po" | "Dn" | "Ad" | "At" | "Ac")[] | undefined;
184
184
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
185
185
  //#endregion
186
186
  export { semrushKeywordsAdsHistory };
@@ -161,17 +161,17 @@ declare const SemrushKeywordsAdsHistoryInput: z.ZodObject<{
161
161
  Ds: "Ds";
162
162
  Vu: "Vu";
163
163
  Ur: "Ur";
164
+ Dt: "Dt";
165
+ Po: "Po";
164
166
  Dn: "Dn";
165
167
  Ad: "Ad";
166
168
  At: "At";
167
169
  Ac: "Ac";
168
- Dt: "Dt";
169
- Po: "Po";
170
170
  }>>>>;
171
171
  }, z.core.$strip>;
172
172
  declare const SemrushKeywordsAdsHistoryOutput: z.ZodObject<{
173
173
  data: z.ZodNullable<z.ZodString>;
174
- }, z.core.$strip>;
174
+ }, z.core.$loose>;
175
175
  declare const semrushKeywordsAdsHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
176
176
  phrase: string;
177
177
  database: "in" | "at" | "id" | "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
@@ -180,7 +180,7 @@ declare const semrushKeywordsAdsHistory: import("@keystrokehq/action").WorkflowA
180
180
  export_decode?: 0 | 1 | undefined;
181
181
  export_escape?: 0 | 1 | undefined;
182
182
  display_offset?: number | undefined;
183
- export_columns?: ("Tt" | "Ds" | "Vu" | "Ur" | "Dn" | "Ad" | "At" | "Ac" | "Dt" | "Po")[] | undefined;
183
+ export_columns?: ("Tt" | "Ds" | "Vu" | "Ur" | "Dt" | "Po" | "Dn" | "Ad" | "At" | "Ac")[] | undefined;
184
184
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
185
185
  //#endregion
186
186
  export { semrushKeywordsAdsHistory };
@@ -183,7 +183,7 @@ const semrushKeywordsAdsHistory = action("SEMRUSH_KEYWORDS_ADS_HISTORY", {
183
183
  "Ad"
184
184
  ]).describe("Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.").optional()
185
185
  }),
186
- output: z.object({ data: z.string().describe("Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.").nullable() }).describe("Contains the raw keyword ads history report data.")
186
+ output: z.object({ data: z.string().describe("Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.").nullable() }).passthrough().describe("Contains the raw keyword ads history report data.")
187
187
  });
188
188
  //#endregion
189
189
  export { semrushKeywordsAdsHistory };
@@ -1 +1 @@
1
- {"version":3,"file":"keywords-ads-history.mjs","names":[],"sources":["../../src/actions/keywords-ads-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordsAdsHistoryInput = z.object({\n phrase: z.string().describe(\"Keyword or phrase for historical advertising data analysis.\"),\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 query.\"),\n display_date: z.string().describe(\"Specifies a past month for data retrieval, formatted as 'YYYYMM15'. If omitted, returns most recent period's data.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results (lines) to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 for a non-URL-encoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Dn\", \"Dt\", \"Po\", \"Ur\", \"Tt\", \"Ds\", \"Vu\", \"At\", \"Ac\", \"Ad\"]).describe(\"Available columns for Keywords Ads History. Codes: Dn (Domain name), Dt (Domain type), Po (Ad position), Ur (Landing page URL), Tt (Ad title), Ds (Ad text), Vu (Visible URL), At (Ad type), Ac (Number of ads for domain/keyword/date), Ad (Ad features).\")).default([\"Dn\",\"Dt\",\"Po\",\"Ur\",\"Tt\",\"Ds\",\"Vu\",\"At\",\"Ac\",\"Ad\"]).describe(\"Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.\").optional(),\n});\nexport const SemrushKeywordsAdsHistoryOutput = z.object({\n data: z.string().describe(\"Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.\").nullable(),\n}).describe(\"Contains the raw keyword ads history report data.\");\n\nexport const semrushKeywordsAdsHistory = action(\"SEMRUSH_KEYWORDS_ADS_HISTORY\", {\n slug: \"semrush-keywords-ads-history\",\n name: \"Get keywords ads history\",\n description: \"Fetches a historical report (last 12 months) of domains advertising on a specified keyword in Google Ads, optionally for a specific month ('YYYYMM15') or the most recent period, returning raw CSV-like data.\",\n input: SemrushKeywordsAdsHistoryInput,\n output: SemrushKeywordsAdsHistoryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACzF,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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,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC5iB,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"keywords-ads-history.mjs","names":[],"sources":["../../src/actions/keywords-ads-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordsAdsHistoryInput = z.object({\n phrase: z.string().describe(\"Keyword or phrase for historical advertising data analysis.\"),\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 query.\"),\n display_date: z.string().describe(\"Specifies a past month for data retrieval, formatted as 'YYYYMM15'. If omitted, returns most recent period's data.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results (lines) to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 for a non-URL-encoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Dn\", \"Dt\", \"Po\", \"Ur\", \"Tt\", \"Ds\", \"Vu\", \"At\", \"Ac\", \"Ad\"]).describe(\"Available columns for Keywords Ads History. Codes: Dn (Domain name), Dt (Domain type), Po (Ad position), Ur (Landing page URL), Tt (Ad title), Ds (Ad text), Vu (Visible URL), At (Ad type), Ac (Number of ads for domain/keyword/date), Ad (Ad features).\")).default([\"Dn\",\"Dt\",\"Po\",\"Ur\",\"Tt\",\"Ds\",\"Vu\",\"At\",\"Ac\",\"Ad\"]).describe(\"Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.\").optional(),\n});\nexport const SemrushKeywordsAdsHistoryOutput = z.object({\n data: z.string().describe(\"Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.\").nullable(),\n}).passthrough().describe(\"Contains the raw keyword ads history report data.\");\n\nexport const semrushKeywordsAdsHistory = action(\"SEMRUSH_KEYWORDS_ADS_HISTORY\", {\n slug: \"semrush-keywords-ads-history\",\n name: \"Get keywords ads history\",\n description: \"Fetches a historical report (last 12 months) of domains advertising on a specified keyword in Google Ads, optionally for a specific month ('YYYYMM15') or the most recent period, returning raw CSV-like data.\",\n input: SemrushKeywordsAdsHistoryInput,\n output: SemrushKeywordsAdsHistoryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACzF,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;G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EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -175,7 +175,7 @@ const SemrushOrganicResultsInput = zod.z.object({
175
175
  ]).describe("List of column codes to include. See `ExportColumnsEnum` for codes. Defaults to all columns if omitted.").optional(),
176
176
  positions_type: zod.z.enum(["organic", "all"]).default("organic").describe("Type of search results: 'organic' for traditional results, or 'all' to include SERP Features. If 'all', 'Pt' column indicates SERP feature code or '-1' for organic.").optional()
177
177
  });
178
- const SemrushOrganicResultsOutput = zod.z.object({ data: zod.z.string().describe("Raw API response string, typically semicolon-separated values with CR+LF line endings. Structure depends on `export_escape` and `export_columns`.").nullable() }).describe("Raw string data of the organic results report from Semrush.");
178
+ const SemrushOrganicResultsOutput = zod.z.object({ data: zod.z.string().describe("Raw API response string, typically semicolon-separated values with CR+LF line endings. Structure depends on `export_escape` and `export_columns`.").nullable() }).passthrough().describe("Raw string data of the organic results report from Semrush.");
179
179
  const semrushOrganicResults = require_action.action("SEMRUSH_ORGANIC_RESULTS", {
180
180
  slug: "semrush-organic-results",
181
181
  name: "Get organic results",
@@ -1 +1 @@
1
- {"version":3,"file":"organic-results.cjs","names":["z","action"],"sources":["../../src/actions/organic-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushOrganicResultsInput = z.object({\n phrase: z.string().describe(\"Keyword or phrase to get Google's top 100 organic search results for.\"),\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 query (e.g., 'us' for United States).\"),\n display_date: z.string().describe(\"Date in 'YYYYMM15' format (e.g., '20231215') for historical data of a past month; day must be '15'. Omit for most recent data.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. API defaults to 10,000 if set to 0 or omitted by client. Max is 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 for a plain URL-decoded response string, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotation marks (\\\"), 0 to not wrap.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip for pagination. Use with `display_limit` for results beyond the initial fetch.\").optional(),\n export_columns: z.array(z.enum([\"Po\", \"Pt\", \"Dn\", \"Ur\", \"Fk\", \"Fp\", \"Fl\"])).default([\"Po\",\"Pt\",\"Dn\",\"Ur\",\"Fk\",\"Fp\",\"Fl\"]).describe(\"List of column codes to include. See `ExportColumnsEnum` for codes. Defaults to all columns if omitted.\").optional(),\n positions_type: z.enum([\"organic\", \"all\"]).default(\"organic\").describe(\"Type of search results: 'organic' for traditional results, or 'all' to include SERP Features. If 'all', 'Pt' column indicates SERP feature code or '-1' for organic.\").optional(),\n});\nexport const SemrushOrganicResultsOutput = z.object({\n data: z.string().describe(\"Raw API response string, typically semicolon-separated values with CR+LF line endings. Structure depends on `export_escape` and `export_columns`.\").nullable(),\n}).describe(\"Raw string data of the organic results report from Semrush.\");\n\nexport const semrushOrganicResults = action(\"SEMRUSH_ORGANIC_RESULTS\", {\n slug: \"semrush-organic-results\",\n name: \"Get organic results\",\n description: \"Retrieves up to 100,000 domains and URLs from Google's top 100 organic search results for a keyword and region, returning a raw string; use `display_date` in 'YYYYMM15' format (day must be '15') for historical data.\",\n input: SemrushOrganicResultsInput,\n output: SemrushOrganicResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,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;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CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAClL,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACvP,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,WAAW,KAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;AAC1P,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS,EAC1L,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"organic-results.cjs","names":["z","action"],"sources":["../../src/actions/organic-results.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushOrganicResultsInput = z.object({\n phrase: z.string().describe(\"Keyword or phrase to get Google's top 100 organic search results for.\"),\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 query (e.g., 'us' for United States).\"),\n display_date: z.string().describe(\"Date in 'YYYYMM15' format (e.g., '20231215') for historical data of a past month; day must be '15'. Omit for most recent data.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. API defaults to 10,000 if set to 0 or omitted by client. Max is 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 for a plain URL-decoded response string, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotation marks (\\\"), 0 to not wrap.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip for pagination. Use with `display_limit` for results beyond the initial fetch.\").optional(),\n export_columns: z.array(z.enum([\"Po\", \"Pt\", \"Dn\", \"Ur\", \"Fk\", \"Fp\", \"Fl\"])).default([\"Po\",\"Pt\",\"Dn\",\"Ur\",\"Fk\",\"Fp\",\"Fl\"]).describe(\"List of column codes to include. See `ExportColumnsEnum` for codes. Defaults to all columns if omitted.\").optional(),\n positions_type: z.enum([\"organic\", \"all\"]).default(\"organic\").describe(\"Type of search results: 'organic' for traditional results, or 'all' to include SERP Features. If 'all', 'Pt' column indicates SERP feature code or '-1' for organic.\").optional(),\n});\nexport const SemrushOrganicResultsOutput = z.object({\n data: z.string().describe(\"Raw API response string, typically semicolon-separated values with CR+LF line endings. Structure depends on `export_escape` and `export_columns`.\").nullable(),\n}).passthrough().describe(\"Raw string data of the organic results report from Semrush.\");\n\nexport const semrushOrganicResults = action(\"SEMRUSH_ORGANIC_RESULTS\", {\n slug: \"semrush-organic-results\",\n name: \"Get organic results\",\n description: \"Retrieves up to 100,000 domains and URLs from Google's top 100 organic search results for a keyword and region, returning a raw string; use `display_date` in 'YYYYMM15' format (day must be '15') for historical data.\",\n input: SemrushOrganicResultsInput,\n output: SemrushOrganicResultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACnG,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;E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