@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":"backlinks.cjs","names":["z","action"],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).describe(\"Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.\").optional(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACxI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,S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C,SAAS,4DAA4D;AAExE,MAAa,mBAAmBC,eAAAA,OAAO,qBAAqB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"backlinks.cjs","names":["z","action"],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).describe(\"Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.\").optional(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).passthrough().describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACxI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,oLAAoL;CACnP,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAAoB;EAAiB;EAAkB;EAAkB;CAAiB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtO,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;CACzT,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAM;EAAa;EAAU;EAAW;EAAY;EAAa;CAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACxQ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC/L,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAiB;EAAe;EAAgB;EAAgB;EAAgB;EAAc;EAAgB;EAAa;EAAc;EAAgB;EAAU;EAAa;EAAa;EAAc;EAAY;EAAQ;EAAS;EAAS;EAAY;EAAW;CAAU,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAc;EAAgB;EAAc;EAAe;EAAe;EAAe;EAAa;EAAe;EAAY;EAAa;EAAe;EAAS;EAAY;EAAY;EAAa;EAAW;EAAO;EAAQ;EAAQ;EAAW;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;AAChyB,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,mBAAmBC,eAAAA,OAAO,qBAAqB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,12 +9,12 @@ declare const SemrushBacklinksInput: z.ZodObject<{
9
9
  url: "url";
10
10
  }>;
11
11
  display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12
- first_seen_asc: "first_seen_asc";
13
- first_seen_desc: "first_seen_desc";
14
- last_seen_asc: "last_seen_asc";
15
- last_seen_desc: "last_seen_desc";
16
12
  page_ascore_asc: "page_ascore_asc";
17
13
  page_ascore_desc: "page_ascore_desc";
14
+ last_seen_asc: "last_seen_asc";
15
+ last_seen_desc: "last_seen_desc";
16
+ first_seen_asc: "first_seen_asc";
17
+ first_seen_desc: "first_seen_desc";
18
18
  }>>>;
19
19
  display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
20
20
  display_filter: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
@@ -31,8 +31,6 @@ declare const SemrushBacklinksInput: z.ZodObject<{
31
31
  display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
32
32
  export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
33
33
  anchor: "anchor";
34
- first_seen: "first_seen";
35
- last_seen: "last_seen";
36
34
  newlink: "newlink";
37
35
  lostlink: "lostlink";
38
36
  page_ascore: "page_ascore";
@@ -47,6 +45,8 @@ declare const SemrushBacklinksInput: z.ZodObject<{
47
45
  target_url: "target_url";
48
46
  target_title: "target_title";
49
47
  image_alt: "image_alt";
48
+ last_seen: "last_seen";
49
+ first_seen: "first_seen";
50
50
  nofollow: "nofollow";
51
51
  form: "form";
52
52
  frame: "frame";
@@ -56,15 +56,15 @@ declare const SemrushBacklinksInput: z.ZodObject<{
56
56
  }, z.core.$strip>;
57
57
  declare const SemrushBacklinksOutput: z.ZodObject<{
58
58
  data: z.ZodNullable<z.ZodString>;
59
- }, z.core.$strip>;
59
+ }, z.core.$loose>;
60
60
  declare const semrushBacklinks: import("@keystrokehq/action").WorkflowActionDefinition<{
61
61
  target: string;
62
62
  target_type: "root_domain" | "domain" | "url";
63
- display_sort?: "first_seen_asc" | "first_seen_desc" | "last_seen_asc" | "last_seen_desc" | "page_ascore_asc" | "page_ascore_desc" | undefined;
63
+ display_sort?: "page_ascore_asc" | "page_ascore_desc" | "last_seen_asc" | "last_seen_desc" | "first_seen_asc" | "first_seen_desc" | undefined;
64
64
  display_limit?: number | undefined;
65
65
  display_filter?: ("type" | "anchor" | "zone" | "ip" | "refdomain" | "newlink" | "lostlink" | "urlanchor" | "redirects")[] | undefined;
66
66
  display_offset?: number | undefined;
67
- export_columns?: ("anchor" | "first_seen" | "last_seen" | "newlink" | "lostlink" | "page_ascore" | "response_code" | "source_size" | "external_num" | "internal_num" | "redirect_url" | "source_url" | "source_title" | "image_url" | "target_url" | "target_title" | "image_alt" | "nofollow" | "form" | "frame" | "image" | "sitewide")[] | undefined;
67
+ export_columns?: ("anchor" | "newlink" | "lostlink" | "page_ascore" | "response_code" | "source_size" | "external_num" | "internal_num" | "redirect_url" | "source_url" | "source_title" | "image_url" | "target_url" | "target_title" | "image_alt" | "last_seen" | "first_seen" | "nofollow" | "form" | "frame" | "image" | "sitewide")[] | undefined;
68
68
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
69
69
  //#endregion
70
70
  export { semrushBacklinks };
@@ -9,12 +9,12 @@ declare const SemrushBacklinksInput: z.ZodObject<{
9
9
  url: "url";
10
10
  }>;
11
11
  display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12
- first_seen_asc: "first_seen_asc";
13
- first_seen_desc: "first_seen_desc";
14
- last_seen_asc: "last_seen_asc";
15
- last_seen_desc: "last_seen_desc";
16
12
  page_ascore_asc: "page_ascore_asc";
17
13
  page_ascore_desc: "page_ascore_desc";
14
+ last_seen_asc: "last_seen_asc";
15
+ last_seen_desc: "last_seen_desc";
16
+ first_seen_asc: "first_seen_asc";
17
+ first_seen_desc: "first_seen_desc";
18
18
  }>>>;
19
19
  display_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
20
20
  display_filter: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
@@ -31,8 +31,6 @@ declare const SemrushBacklinksInput: z.ZodObject<{
31
31
  display_offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
32
32
  export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
33
33
  anchor: "anchor";
34
- first_seen: "first_seen";
35
- last_seen: "last_seen";
36
34
  newlink: "newlink";
37
35
  lostlink: "lostlink";
38
36
  page_ascore: "page_ascore";
@@ -47,6 +45,8 @@ declare const SemrushBacklinksInput: z.ZodObject<{
47
45
  target_url: "target_url";
48
46
  target_title: "target_title";
49
47
  image_alt: "image_alt";
48
+ last_seen: "last_seen";
49
+ first_seen: "first_seen";
50
50
  nofollow: "nofollow";
51
51
  form: "form";
52
52
  frame: "frame";
@@ -56,15 +56,15 @@ declare const SemrushBacklinksInput: z.ZodObject<{
56
56
  }, z.core.$strip>;
57
57
  declare const SemrushBacklinksOutput: z.ZodObject<{
58
58
  data: z.ZodNullable<z.ZodString>;
59
- }, z.core.$strip>;
59
+ }, z.core.$loose>;
60
60
  declare const semrushBacklinks: import("@keystrokehq/action").WorkflowActionDefinition<{
61
61
  target: string;
62
62
  target_type: "root_domain" | "domain" | "url";
63
- display_sort?: "first_seen_asc" | "first_seen_desc" | "last_seen_asc" | "last_seen_desc" | "page_ascore_asc" | "page_ascore_desc" | undefined;
63
+ display_sort?: "page_ascore_asc" | "page_ascore_desc" | "last_seen_asc" | "last_seen_desc" | "first_seen_asc" | "first_seen_desc" | undefined;
64
64
  display_limit?: number | undefined;
65
65
  display_filter?: ("type" | "anchor" | "zone" | "ip" | "refdomain" | "newlink" | "lostlink" | "urlanchor" | "redirects")[] | undefined;
66
66
  display_offset?: number | undefined;
67
- export_columns?: ("anchor" | "first_seen" | "last_seen" | "newlink" | "lostlink" | "page_ascore" | "response_code" | "source_size" | "external_num" | "internal_num" | "redirect_url" | "source_url" | "source_title" | "image_url" | "target_url" | "target_title" | "image_alt" | "nofollow" | "form" | "frame" | "image" | "sitewide")[] | undefined;
67
+ export_columns?: ("anchor" | "newlink" | "lostlink" | "page_ascore" | "response_code" | "source_size" | "external_num" | "internal_num" | "redirect_url" | "source_url" | "source_title" | "image_url" | "target_url" | "target_title" | "image_alt" | "last_seen" | "first_seen" | "nofollow" | "form" | "frame" | "image" | "sitewide")[] | undefined;
68
68
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
69
69
  //#endregion
70
70
  export { semrushBacklinks };
@@ -80,7 +80,7 @@ const semrushBacklinks = action("SEMRUSH_BACKLINKS", {
80
80
  "lostlink"
81
81
  ]).describe("Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.").optional()
82
82
  }).describe("Defines the parameters for requesting backlink data."),
83
- output: z.object({ data: z.string().describe("A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.").nullable() }).describe("Contains the response data from a `Backlinks` API request.")
83
+ output: z.object({ data: z.string().describe("A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.").nullable() }).passthrough().describe("Contains the response data from a `Backlinks` API request.")
84
84
  });
85
85
  //#endregion
86
86
  export { semrushBacklinks };
@@ -1 +1 @@
1
- {"version":3,"file":"backlinks.mjs","names":[],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).describe(\"Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.\").optional(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;AAi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AS,sDASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"backlinks.mjs","names":[],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksInput = z.object({\n target: z.string().describe(\"The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).\"),\n display_sort: z.enum([\"page_ascore_asc\", \"page_ascore_desc\", \"last_seen_asc\", \"last_seen_desc\", \"first_seen_asc\", \"first_seen_desc\"]).default(\"page_ascore_desc\").describe(\"Column and order for sorting backlink results.\").optional(),\n display_limit: z.number().int().default(0).describe(\"Maximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.\").optional(),\n display_filter: z.array(z.enum([\"type\", \"zone\", \"ip\", \"refdomain\", \"anchor\", \"newlink\", \"lostlink\", \"urlanchor\", \"redirects\"])).default([]).describe(\"Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.\").optional(),\n export_columns: z.array(z.enum([\"page_ascore\", \"response_code\", \"source_size\", \"external_num\", \"internal_num\", \"redirect_url\", \"source_url\", \"source_title\", \"image_url\", \"target_url\", \"target_title\", \"anchor\", \"image_alt\", \"last_seen\", \"first_seen\", \"nofollow\", \"form\", \"frame\", \"image\", \"sitewide\", \"newlink\", \"lostlink\"])).default([\"page_ascore\",\"response_code\",\"source_size\",\"external_num\",\"internal_num\",\"redirect_url\",\"source_url\",\"source_title\",\"image_url\",\"target_url\",\"target_title\",\"anchor\",\"image_alt\",\"last_seen\",\"first_seen\",\"nofollow\",\"form\",\"frame\",\"image\",\"sitewide\",\"newlink\",\"lostlink\"]).describe(\"Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.\").optional(),\n}).describe(\"Defines the parameters for requesting backlink data.\");\nexport const SemrushBacklinksOutput = z.object({\n data: z.string().describe(\"A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.\").nullable(),\n}).passthrough().describe(\"Contains the response data from a `Backlinks` API request.\");\n\nexport const semrushBacklinks = action(\"SEMRUSH_BACKLINKS\", {\n slug: \"semrush-backlinks\",\n name: \"Get backlinks\",\n description: \"Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.\",\n input: SemrushBacklinksInput,\n output: SemrushBacklinksOutput,\n});\n"],"mappings":";;AAiBA,MAAa,mBAAmB,OAAO,qBAAqB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EACxI,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,oLAAoL;EACnP,cAAc,EAAE,KAAK;GAAC;GAAmB;GAAoB;GAAiB;GAAkB;GAAkB;EAAiB,CAAC,CAAC,CAAC,QAAQ,kBAAkB,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtO,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0PAA0P,CAAC,CAAC,SAAS;EACzT,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAM;GAAa;GAAU;GAAW;GAAY;GAAa;EAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACxQ,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EAC/L,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAe;GAAiB;GAAe;GAAgB;GAAgB;GAAgB;GAAc;GAAgB;GAAa;GAAc;GAAgB;GAAU;GAAa;GAAa;GAAc;GAAY;GAAQ;GAAS;GAAS;GAAY;GAAW;EAAU,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAc;GAAgB;GAAc;GAAe;GAAe;GAAe;GAAa;GAAe;GAAY;GAAa;GAAe;GAAS;GAAY;GAAY;GAAa;GAAW;GAAO;GAAQ;GAAQ;GAAW;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CAChyB,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -36,7 +36,7 @@ const SemrushBatchComparisonInput = zod.z.object({
36
36
  "frames_num"
37
37
  ]).describe("Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.").optional()
38
38
  }).describe("Request schema for `BatchComparison`");
39
- const SemrushBatchComparisonOutput = zod.z.object({ data: zod.z.string().describe("Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.").nullable() }).describe("Response schema for `BatchComparison`");
39
+ const SemrushBatchComparisonOutput = zod.z.object({ data: zod.z.string().describe("Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.").nullable() }).passthrough().describe("Response schema for `BatchComparison`");
40
40
  const semrushBatchComparison = require_action.action("SEMRUSH_BATCH_COMPARISON", {
41
41
  slug: "semrush-batch-comparison",
42
42
  name: "Batch comparison",
@@ -1 +1 @@
1
- {"version":3,"file":"batch-comparison.cjs","names":["z","action"],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchComparisonInput = z.object({\n targets: z.array(z.string()).describe(\"A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.\"),\n target_types: z.array(z.enum([\"root_domain\", \"domain\", \"url\"])).describe(\"Specifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.\"),\n export_columns: z.array(z.enum([\"target\", \"target_type\", \"ascore\", \"backlinks_num\", \"domains_num\", \"ips_num\", \"follows_num\", \"nofollows_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"target\",\"target_type\",\"ascore\",\"backlinks_num\",\"domains_num\",\"ips_num\",\"follows_num\",\"nofollows_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.\").optional(),\n}).describe(\"Request schema for `BatchComparison`\");\nexport const SemrushBatchComparisonOutput = z.object({\n data: z.string().describe(\"Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.\").nullable(),\n}).describe(\"Response schema for `BatchComparison`\");\n\nexport const semrushBatchComparison = action(\"SEMRUSH_BATCH_COMPARISON\", {\n slug: \"semrush-batch-comparison\",\n name: \"Batch comparison\",\n description: \"Compares backlink profiles for multiple specified targets (domains, subdomains, or URLs) to analyze and compare link-building efforts.\",\n input: SemrushBatchComparisonInput,\n output: SemrushBatchComparisonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACrI,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,CAAC,SAAS,mJAAmJ;CAC5N,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAe;EAAU;EAAiB;EAAe;EAAW;EAAe;EAAiB;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAc;EAAS;EAAgB;EAAc;EAAU;EAAc;EAAgB;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAC3iB,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"batch-comparison.cjs","names":["z","action"],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchComparisonInput = z.object({\n targets: z.array(z.string()).describe(\"A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.\"),\n target_types: z.array(z.enum([\"root_domain\", \"domain\", \"url\"])).describe(\"Specifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.\"),\n export_columns: z.array(z.enum([\"target\", \"target_type\", \"ascore\", \"backlinks_num\", \"domains_num\", \"ips_num\", \"follows_num\", \"nofollows_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"target\",\"target_type\",\"ascore\",\"backlinks_num\",\"domains_num\",\"ips_num\",\"follows_num\",\"nofollows_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.\").optional(),\n}).describe(\"Request schema for `BatchComparison`\");\nexport const SemrushBatchComparisonOutput = z.object({\n data: z.string().describe(\"Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.\").nullable(),\n}).passthrough().describe(\"Response schema for `BatchComparison`\");\n\nexport const semrushBatchComparison = action(\"SEMRUSH_BATCH_COMPARISON\", {\n slug: \"semrush-batch-comparison\",\n name: \"Batch comparison\",\n description: \"Compares backlink profiles for multiple specified targets (domains, subdomains, or URLs) to analyze and compare link-building efforts.\",\n input: SemrushBatchComparisonInput,\n output: SemrushBatchComparisonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACrI,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,CAAC,SAAS,mJAAmJ;CAC5N,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAe;EAAU;EAAiB;EAAe;EAAW;EAAe;EAAiB;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAc;EAAS;EAAgB;EAAc;EAAU;EAAc;EAAgB;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;AAC3iB,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,9 +11,9 @@ declare const SemrushBatchComparisonInput: z.ZodObject<{
11
11
  export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
12
12
  target: "target";
13
13
  target_type: "target_type";
14
- ascore: "ascore";
15
- backlinks_num: "backlinks_num";
16
14
  domains_num: "domains_num";
15
+ backlinks_num: "backlinks_num";
16
+ ascore: "ascore";
17
17
  ips_num: "ips_num";
18
18
  follows_num: "follows_num";
19
19
  nofollows_num: "nofollows_num";
@@ -25,11 +25,11 @@ declare const SemrushBatchComparisonInput: z.ZodObject<{
25
25
  }, z.core.$strip>;
26
26
  declare const SemrushBatchComparisonOutput: z.ZodObject<{
27
27
  data: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>;
28
+ }, z.core.$loose>;
29
29
  declare const semrushBatchComparison: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  targets: string[];
31
31
  target_types: ("root_domain" | "domain" | "url")[];
32
- export_columns?: ("target" | "target_type" | "ascore" | "backlinks_num" | "domains_num" | "ips_num" | "follows_num" | "nofollows_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
32
+ export_columns?: ("target" | "target_type" | "domains_num" | "backlinks_num" | "ascore" | "ips_num" | "follows_num" | "nofollows_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
33
33
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
34
  //#endregion
35
35
  export { semrushBatchComparison };
@@ -11,9 +11,9 @@ declare const SemrushBatchComparisonInput: z.ZodObject<{
11
11
  export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
12
12
  target: "target";
13
13
  target_type: "target_type";
14
- ascore: "ascore";
15
- backlinks_num: "backlinks_num";
16
14
  domains_num: "domains_num";
15
+ backlinks_num: "backlinks_num";
16
+ ascore: "ascore";
17
17
  ips_num: "ips_num";
18
18
  follows_num: "follows_num";
19
19
  nofollows_num: "nofollows_num";
@@ -25,11 +25,11 @@ declare const SemrushBatchComparisonInput: z.ZodObject<{
25
25
  }, z.core.$strip>;
26
26
  declare const SemrushBatchComparisonOutput: z.ZodObject<{
27
27
  data: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>;
28
+ }, z.core.$loose>;
29
29
  declare const semrushBatchComparison: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  targets: string[];
31
31
  target_types: ("root_domain" | "domain" | "url")[];
32
- export_columns?: ("target" | "target_type" | "ascore" | "backlinks_num" | "domains_num" | "ips_num" | "follows_num" | "nofollows_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
32
+ export_columns?: ("target" | "target_type" | "domains_num" | "backlinks_num" | "ascore" | "ips_num" | "follows_num" | "nofollows_num" | "texts_num" | "images_num" | "forms_num" | "frames_num")[] | undefined;
33
33
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
34
  //#endregion
35
35
  export { semrushBatchComparison };
@@ -39,7 +39,7 @@ const semrushBatchComparison = action("SEMRUSH_BATCH_COMPARISON", {
39
39
  "frames_num"
40
40
  ]).describe("Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.").optional()
41
41
  }).describe("Request schema for `BatchComparison`"),
42
- output: z.object({ data: z.string().describe("Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.").nullable() }).describe("Response schema for `BatchComparison`")
42
+ output: z.object({ data: z.string().describe("Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.").nullable() }).passthrough().describe("Response schema for `BatchComparison`")
43
43
  });
44
44
  //#endregion
45
45
  export { semrushBatchComparison };
@@ -1 +1 @@
1
- {"version":3,"file":"batch-comparison.mjs","names":[],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchComparisonInput = z.object({\n targets: z.array(z.string()).describe(\"A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.\"),\n target_types: z.array(z.enum([\"root_domain\", \"domain\", \"url\"])).describe(\"Specifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.\"),\n export_columns: z.array(z.enum([\"target\", \"target_type\", \"ascore\", \"backlinks_num\", \"domains_num\", \"ips_num\", \"follows_num\", \"nofollows_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"target\",\"target_type\",\"ascore\",\"backlinks_num\",\"domains_num\",\"ips_num\",\"follows_num\",\"nofollows_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.\").optional(),\n}).describe(\"Request schema for `BatchComparison`\");\nexport const SemrushBatchComparisonOutput = z.object({\n data: z.string().describe(\"Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.\").nullable(),\n}).describe(\"Response schema for `BatchComparison`\");\n\nexport const semrushBatchComparison = action(\"SEMRUSH_BATCH_COMPARISON\", {\n slug: \"semrush-batch-comparison\",\n name: \"Batch comparison\",\n description: \"Compares backlink profiles for multiple specified targets (domains, subdomains, or URLs) to analyze and compare link-building efforts.\",\n input: SemrushBatchComparisonInput,\n output: SemrushBatchComparisonOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;EACrI,cAAc,EAAE,MAAM,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,CAAC,SAAS,mJAAmJ;EAC5N,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAe;GAAU;GAAiB;GAAe;GAAW;GAAe;GAAiB;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAc;GAAS;GAAgB;GAAc;GAAU;GAAc;GAAgB;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CAC3iB,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"batch-comparison.mjs","names":[],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchComparisonInput = z.object({\n targets: z.array(z.string()).describe(\"A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.\"),\n target_types: z.array(z.enum([\"root_domain\", \"domain\", \"url\"])).describe(\"Specifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.\"),\n export_columns: z.array(z.enum([\"target\", \"target_type\", \"ascore\", \"backlinks_num\", \"domains_num\", \"ips_num\", \"follows_num\", \"nofollows_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"target\",\"target_type\",\"ascore\",\"backlinks_num\",\"domains_num\",\"ips_num\",\"follows_num\",\"nofollows_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.\").optional(),\n}).describe(\"Request schema for `BatchComparison`\");\nexport const SemrushBatchComparisonOutput = z.object({\n data: z.string().describe(\"Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.\").nullable(),\n}).passthrough().describe(\"Response schema for `BatchComparison`\");\n\nexport const semrushBatchComparison = action(\"SEMRUSH_BATCH_COMPARISON\", {\n slug: \"semrush-batch-comparison\",\n name: \"Batch comparison\",\n description: \"Compares backlink profiles for multiple specified targets (domains, subdomains, or URLs) to analyze and compare link-building efforts.\",\n input: SemrushBatchComparisonInput,\n output: SemrushBatchComparisonOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;EACrI,cAAc,EAAE,MAAM,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,CAAC,SAAS,mJAAmJ;EAC5N,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAe;GAAU;GAAiB;GAAe;GAAW;GAAe;GAAiB;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAc;GAAS;GAAgB;GAAc;GAAU;GAAc;GAAgB;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4KAA4K,CAAC,CAAC,SAAS;CAC3iB,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -177,7 +177,7 @@ const SemrushBatchKeywordOverviewInput = zod.z.object({
177
177
  const SemrushBatchKeywordOverviewOutput = zod.z.object({
178
178
  keyword_data: zod.z.string().describe("A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.").nullable(),
179
179
  composio_execution_message: zod.z.string().describe("Message explaining any modifications made to user input (e.g., phrase truncation or conversion).").nullable().optional()
180
- });
180
+ }).passthrough();
181
181
  const semrushBatchKeywordOverview = require_action.action("SEMRUSH_BATCH_KEYWORD_OVERVIEW", {
182
182
  slug: "semrush-batch-keyword-overview",
183
183
  name: "Batch keyword overview",
@@ -1 +1 @@
1
- {"version":3,"file":"batch-keyword-overview.cjs","names":["z","action"],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n});\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gXAAgX;CAC5Y,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;E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;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,icAAic,CAAC,CAAC,SAAS;AAC5lB,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACtR,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"batch-keyword-overview.cjs","names":["z","action"],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n}).passthrough();\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gXAAgX;CAC5Y,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM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AgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,icAAic,CAAC,CAAC,SAAS;AAC5lB,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACtR,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -168,7 +168,7 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
168
168
  declare const SemrushBatchKeywordOverviewOutput: z.ZodObject<{
169
169
  keyword_data: z.ZodNullable<z.ZodString>;
170
170
  composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
- }, z.core.$strip>;
171
+ }, z.core.$loose>;
172
172
  declare const semrushBatchKeywordOverview: import("@keystrokehq/action").WorkflowActionDefinition<{
173
173
  [x: string]: unknown;
174
174
  phrase: string;
@@ -168,7 +168,7 @@ declare const SemrushBatchKeywordOverviewInput: z.ZodObject<{
168
168
  declare const SemrushBatchKeywordOverviewOutput: z.ZodObject<{
169
169
  keyword_data: z.ZodNullable<z.ZodString>;
170
170
  composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
- }, z.core.$strip>;
171
+ }, z.core.$loose>;
172
172
  declare const semrushBatchKeywordOverview: import("@keystrokehq/action").WorkflowActionDefinition<{
173
173
  [x: string]: unknown;
174
174
  phrase: string;
@@ -180,7 +180,7 @@ const semrushBatchKeywordOverview = action("SEMRUSH_BATCH_KEYWORD_OVERVIEW", {
180
180
  output: z.object({
181
181
  keyword_data: z.string().describe("A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.").nullable(),
182
182
  composio_execution_message: z.string().describe("Message explaining any modifications made to user input (e.g., phrase truncation or conversion).").nullable().optional()
183
- })
183
+ }).passthrough()
184
184
  });
185
185
  //#endregion
186
186
  export { semrushBatchKeywordOverview };
@@ -1 +1 @@
1
- {"version":3,"file":"batch-keyword-overview.mjs","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n});\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;AAiBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gXAAgX;EAC5Y,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;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C,SAAS,icAAic,CAAC,CAAC,SAAS;CAC5lB,CAAC,CAAC,CAAC,YAUM;CACP,QAV+C,EAAE,OAAO;EACxD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACtR,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"batch-keyword-overview.mjs","names":[],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n}).passthrough();\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;AAiBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gXAAgX;EAC5Y,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;G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xD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACtR,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -200,7 +200,7 @@ const SemrushBroadMatchKeywordInput = zod.z.object({
200
200
  "Kd"
201
201
  ]).describe("Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.").optional()
202
202
  });
203
- const SemrushBroadMatchKeywordOutput = zod.z.object({ data: zod.z.string().describe("The API response data, typically in a text/CSV format, containing the broad match keyword report.").nullable() }).describe("Response schema for `BroadMatchKeyword`");
203
+ const SemrushBroadMatchKeywordOutput = zod.z.object({ data: zod.z.string().describe("The API response data, typically in a text/CSV format, containing the broad match keyword report.").nullable() }).passthrough().describe("Response schema for `BroadMatchKeyword`");
204
204
  const semrushBroadMatchKeyword = require_action.action("SEMRUSH_BROAD_MATCH_KEYWORD", {
205
205
  slug: "semrush-broad-match-keyword",
206
206
  name: "Broad match keyword",
@@ -1 +1 @@
1
- {"version":3,"file":"broad-match-keyword.cjs","names":["z","action"],"sources":["../../src/actions/broad-match-keyword.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBroadMatchKeywordInput = z.object({\n phrase: z.string().describe(\"Keyword, phrase, or expression to investigate for broad matches and alternative search queries.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\") for historical data. If omitted or empty, most recent data is returned.\").optional(),\n display_sort: z.enum([\"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"kd_asc\", \"kd_desc\"]).default(\"nq_desc\").describe(\"Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), returns a raw text response; 0 for a URL-encoded string.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Wc\", \"Fk\", \"Kd\"])).default([]).describe(\"Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip from the beginning of the list for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"Fk\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"Fk\",\"In\",\"Kd\"]).describe(\"Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.\").optional(),\n});\nexport const SemrushBroadMatchKeywordOutput = z.object({\n data: z.string().describe(\"The API response data, typically in a text/CSV format, containing the broad match keyword report.\").nullable(),\n}).describe(\"Response schema for `BroadMatchKeyword`\");\n\nexport const semrushBroadMatchKeyword = action(\"SEMRUSH_BROAD_MATCH_KEYWORD\", {\n slug: \"semrush-broad-match-keyword\",\n name: \"Broad match keyword\",\n description: \"Fetches broad match keywords for a given phrase. Response is CSV-like text (not JSON); parse by splitting on line breaks and delimiters. `display_sort` and `display_filter` parameters are defined but currently not utilized by the API call.\",\n input: SemrushBroadMatchKeywordInput,\n output: SemrushBroadMatchKeywordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC7H,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EA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],"sources":["../../src/actions/broad-match-keyword.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBroadMatchKeywordInput = z.object({\n phrase: z.string().describe(\"Keyword, phrase, or expression to investigate for broad matches and alternative search queries.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\") for historical data. If omitted or empty, most recent data is returned.\").optional(),\n display_sort: z.enum([\"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"kd_asc\", \"kd_desc\"]).default(\"nq_desc\").describe(\"Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), returns a raw text response; 0 for a URL-encoded string.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Wc\", \"Fk\", \"Kd\"])).default([]).describe(\"Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip from the beginning of the list for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"Fk\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"Fk\",\"In\",\"Kd\"]).describe(\"Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.\").optional(),\n});\nexport const SemrushBroadMatchKeywordOutput = z.object({\n data: z.string().describe(\"The API response data, typically in a text/CSV format, containing the broad match keyword report.\").nullable(),\n}).passthrough().describe(\"Response schema for `BroadMatchKeyword`\");\n\nexport const semrushBroadMatchKeyword = action(\"SEMRUSH_BROAD_MATCH_KEYWORD\", {\n slug: \"semrush-broad-match-keyword\",\n name: \"Broad match keyword\",\n description: \"Fetches broad match keywords for a given phrase. Response is CSV-like text (not JSON); parse by splitting on line breaks and delimiters. `display_sort` and `display_filter` parameters are defined but currently not utilized by the API call.\",\n input: SemrushBroadMatchKeywordInput,\n output: SemrushBroadMatchKeywordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC7H,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAU;EAAU;EAAU;EAAU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AAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;AAC9R,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -192,7 +192,7 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
192
192
  }, z.core.$strip>;
193
193
  declare const SemrushBroadMatchKeywordOutput: z.ZodObject<{
194
194
  data: z.ZodNullable<z.ZodString>;
195
- }, z.core.$strip>;
195
+ }, z.core.$loose>;
196
196
  declare const semrushBroadMatchKeyword: import("@keystrokehq/action").WorkflowActionDefinition<{
197
197
  phrase: string;
198
198
  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";
@@ -192,7 +192,7 @@ declare const SemrushBroadMatchKeywordInput: z.ZodObject<{
192
192
  }, z.core.$strip>;
193
193
  declare const SemrushBroadMatchKeywordOutput: z.ZodObject<{
194
194
  data: z.ZodNullable<z.ZodString>;
195
- }, z.core.$strip>;
195
+ }, z.core.$loose>;
196
196
  declare const semrushBroadMatchKeyword: import("@keystrokehq/action").WorkflowActionDefinition<{
197
197
  phrase: string;
198
198
  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";
@@ -203,7 +203,7 @@ const semrushBroadMatchKeyword = action("SEMRUSH_BROAD_MATCH_KEYWORD", {
203
203
  "Kd"
204
204
  ]).describe("Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.").optional()
205
205
  }),
206
- output: z.object({ data: z.string().describe("The API response data, typically in a text/CSV format, containing the broad match keyword report.").nullable() }).describe("Response schema for `BroadMatchKeyword`")
206
+ output: z.object({ data: z.string().describe("The API response data, typically in a text/CSV format, containing the broad match keyword report.").nullable() }).passthrough().describe("Response schema for `BroadMatchKeyword`")
207
207
  });
208
208
  //#endregion
209
209
  export { semrushBroadMatchKeyword };
@@ -1 +1 @@
1
- {"version":3,"file":"broad-match-keyword.mjs","names":[],"sources":["../../src/actions/broad-match-keyword.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBroadMatchKeywordInput = z.object({\n phrase: z.string().describe(\"Keyword, phrase, or expression to investigate for broad matches and alternative search queries.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\") for historical data. If omitted or empty, most recent data is returned.\").optional(),\n display_sort: z.enum([\"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"kd_asc\", \"kd_desc\"]).default(\"nq_desc\").describe(\"Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), returns a raw text response; 0 for a URL-encoded string.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Wc\", \"Fk\", \"Kd\"])).default([]).describe(\"Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip from the beginning of the list for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"Fk\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"Fk\",\"In\",\"Kd\"]).describe(\"Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.\").optional(),\n});\nexport const SemrushBroadMatchKeywordOutput = z.object({\n data: z.string().describe(\"The API response data, typically in a text/CSV format, containing the broad match keyword report.\").nullable(),\n}).describe(\"Response schema for `BroadMatchKeyword`\");\n\nexport const semrushBroadMatchKeyword = action(\"SEMRUSH_BROAD_MATCH_KEYWORD\", {\n slug: \"semrush-broad-match-keyword\",\n name: \"Broad match keyword\",\n description: \"Fetches broad match keywords for a given phrase. Response is CSV-like text (not JSON); parse by splitting on line breaks and delimiters. `display_sort` and `display_filter` parameters are defined but currently not utilized by the API call.\",\n input: SemrushBroadMatchKeywordInput,\n output: SemrushBroadMatchKeywordOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,QAAQ,EAAE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AAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAK,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACtK,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC9J,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACpL,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACpO,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC1I,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CAC9R,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,EAC1I,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"broad-match-keyword.mjs","names":[],"sources":["../../src/actions/broad-match-keyword.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBroadMatchKeywordInput = z.object({\n phrase: z.string().describe(\"Keyword, phrase, or expression to investigate for broad matches and alternative search queries.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\") for historical data. If omitted or empty, most recent data is returned.\").optional(),\n display_sort: z.enum([\"nq_asc\", \"nq_desc\", \"cp_asc\", \"cp_desc\", \"co_asc\", \"co_desc\", \"nr_asc\", \"nr_desc\", \"kd_asc\", \"kd_desc\"]).default(\"nq_desc\").describe(\"Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), returns a raw text response; 0 for a URL-encoded string.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.\").optional(),\n display_filter: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Wc\", \"Fk\", \"Kd\"])).default([]).describe(\"Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip from the beginning of the list for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"Fk\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"Fk\",\"In\",\"Kd\"]).describe(\"Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.\").optional(),\n});\nexport const SemrushBroadMatchKeywordOutput = z.object({\n data: z.string().describe(\"The API response data, typically in a text/CSV format, containing the broad match keyword report.\").nullable(),\n}).passthrough().describe(\"Response schema for `BroadMatchKeyword`\");\n\nexport const semrushBroadMatchKeyword = action(\"SEMRUSH_BROAD_MATCH_KEYWORD\", {\n slug: \"semrush-broad-match-keyword\",\n name: \"Broad match keyword\",\n description: \"Fetches broad match keywords for a given phrase. Response is CSV-like text (not JSON); parse by splitting on line breaks and delimiters. `display_sort` and `display_filter` parameters are defined but currently not utilized by the API call.\",\n input: SemrushBroadMatchKeywordInput,\n output: SemrushBroadMatchKeywordOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC7H,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,CA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S;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const SemrushCategoriesProfileInput = zod.z.object({
12
12
  display_offset: zod.z.number().int().default(0).describe("Number of initial results to skip; `display_limit` should be `offset + desired_results` (e.g., for 100 results from 51st, `display_offset=50`, `display_limit=150`).").optional(),
13
13
  export_columns: zod.z.array(zod.z.enum(["category_name", "rating"])).default(["category_name", "rating"]).describe("Columns to include in the report; defaults to all available columns.").optional()
14
14
  }).describe("Request schema for `CategoriesProfile`");
15
- const SemrushCategoriesProfileOutput = zod.z.object({ data: zod.z.string().describe("The categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.").nullable() }).describe("Response schema for `CategoriesProfile`");
15
+ const SemrushCategoriesProfileOutput = zod.z.object({ data: zod.z.string().describe("The categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.").nullable() }).passthrough().describe("Response schema for `CategoriesProfile`");
16
16
  const semrushCategoriesProfile = require_action.action("SEMRUSH_CATEGORIES_PROFILE", {
17
17
  slug: "semrush-categories-profile",
18
18
  name: "Get categories profile",
@@ -1 +1 @@
1
- {"version":3,"file":"categories-profile.cjs","names":["z","action"],"sources":["../../src/actions/categories-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushCategoriesProfileInput = z.object({\n target: z.string().describe(\"The target URL, domain, or root domain for which to retrieve categories profile data.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Type of the target.\"),\n display_limit: z.number().int().default(0).describe(\"Maximum results to return. If 0 (default), 10,000 lines are returned. Max: 1,000,000.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip; `display_limit` should be `offset + desired_results` (e.g., for 100 results from 51st, `display_offset=50`, `display_limit=150`).\").optional(),\n export_columns: z.array(z.enum([\"category_name\", \"rating\"])).default([\"category_name\",\"rating\"]).describe(\"Columns to include in the report; defaults to all available columns.\").optional(),\n}).describe(\"Request schema for `CategoriesProfile`\");\nexport const SemrushCategoriesProfileOutput = z.object({\n data: z.string().describe(\"The categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.\").nullable(),\n}).describe(\"Response schema for `CategoriesProfile`\");\n\nexport const semrushCategoriesProfile = action(\"SEMRUSH_CATEGORIES_PROFILE\", {\n slug: \"semrush-categories-profile\",\n name: \"Get categories profile\",\n description: \"Retrieves a profile of content categories from referring domains for a specified target, analyzing its first 10,000 referring domains and sorting results by domain count.\",\n input: SemrushCategoriesProfileInput,\n output: SemrushCategoriesProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACnH,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,qBAAqB;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;CACtO,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,iBAAiB,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,iBAAgB,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS,EAC5O,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"categories-profile.cjs","names":["z","action"],"sources":["../../src/actions/categories-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushCategoriesProfileInput = z.object({\n target: z.string().describe(\"The target URL, domain, or root domain for which to retrieve categories profile data.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Type of the target.\"),\n display_limit: z.number().int().default(0).describe(\"Maximum results to return. If 0 (default), 10,000 lines are returned. Max: 1,000,000.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of initial results to skip; `display_limit` should be `offset + desired_results` (e.g., for 100 results from 51st, `display_offset=50`, `display_limit=150`).\").optional(),\n export_columns: z.array(z.enum([\"category_name\", \"rating\"])).default([\"category_name\",\"rating\"]).describe(\"Columns to include in the report; defaults to all available columns.\").optional(),\n}).describe(\"Request schema for `CategoriesProfile`\");\nexport const SemrushCategoriesProfileOutput = z.object({\n data: z.string().describe(\"The categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.\").nullable(),\n}).passthrough().describe(\"Response schema for `CategoriesProfile`\");\n\nexport const semrushCategoriesProfile = action(\"SEMRUSH_CATEGORIES_PROFILE\", {\n slug: \"semrush-categories-profile\",\n name: \"Get categories profile\",\n description: \"Retrieves a profile of content categories from referring domains for a specified target, analyzing its first 10,000 referring domains and sorting results by domain count.\",\n input: SemrushCategoriesProfileInput,\n output: SemrushCategoriesProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACnH,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,qBAAqB;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;CACtO,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,iBAAiB,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,iBAAgB,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS,EAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}