@keystrokehq/semrush 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/account-units-balance.cjs +1 -0
- package/dist/actions/account-units-balance.cjs.map +1 -1
- package/dist/actions/account-units-balance.d.cts +3 -13
- package/dist/actions/account-units-balance.d.cts.map +1 -1
- package/dist/actions/account-units-balance.d.mts +3 -13
- package/dist/actions/account-units-balance.d.mts.map +1 -1
- package/dist/actions/account-units-balance.mjs +1 -0
- package/dist/actions/account-units-balance.mjs.map +1 -1
- package/dist/actions/ads-copies.cjs +1 -0
- package/dist/actions/ads-copies.cjs.map +1 -1
- package/dist/actions/ads-copies.d.cts +4 -24
- package/dist/actions/ads-copies.d.cts.map +1 -1
- package/dist/actions/ads-copies.d.mts +4 -24
- package/dist/actions/ads-copies.d.mts.map +1 -1
- package/dist/actions/ads-copies.mjs +1 -0
- package/dist/actions/ads-copies.mjs.map +1 -1
- package/dist/actions/anchors.cjs +1 -0
- package/dist/actions/anchors.cjs.map +1 -1
- package/dist/actions/anchors.d.cts +4 -21
- package/dist/actions/anchors.d.cts.map +1 -1
- package/dist/actions/anchors.d.mts +4 -21
- package/dist/actions/anchors.d.mts.map +1 -1
- package/dist/actions/anchors.mjs +1 -0
- package/dist/actions/anchors.mjs.map +1 -1
- package/dist/actions/authority-score-profile.cjs +1 -0
- package/dist/actions/authority-score-profile.cjs.map +1 -1
- package/dist/actions/authority-score-profile.d.cts +4 -17
- package/dist/actions/authority-score-profile.d.cts.map +1 -1
- package/dist/actions/authority-score-profile.d.mts +4 -17
- package/dist/actions/authority-score-profile.d.mts.map +1 -1
- package/dist/actions/authority-score-profile.mjs +1 -0
- package/dist/actions/authority-score-profile.mjs.map +1 -1
- package/dist/actions/backlinks-overview.cjs +1 -0
- package/dist/actions/backlinks-overview.cjs.map +1 -1
- package/dist/actions/backlinks-overview.d.cts +9 -23
- package/dist/actions/backlinks-overview.d.cts.map +1 -1
- package/dist/actions/backlinks-overview.d.mts +9 -23
- package/dist/actions/backlinks-overview.d.mts.map +1 -1
- package/dist/actions/backlinks-overview.mjs +1 -0
- package/dist/actions/backlinks-overview.mjs.map +1 -1
- package/dist/actions/backlinks.cjs +1 -0
- package/dist/actions/backlinks.cjs.map +1 -1
- package/dist/actions/backlinks.d.cts +4 -22
- package/dist/actions/backlinks.d.cts.map +1 -1
- package/dist/actions/backlinks.d.mts +4 -22
- package/dist/actions/backlinks.d.mts.map +1 -1
- package/dist/actions/backlinks.mjs +1 -0
- package/dist/actions/backlinks.mjs.map +1 -1
- package/dist/actions/batch-comparison.cjs +1 -0
- package/dist/actions/batch-comparison.cjs.map +1 -1
- package/dist/actions/batch-comparison.d.cts +4 -18
- package/dist/actions/batch-comparison.d.cts.map +1 -1
- package/dist/actions/batch-comparison.d.mts +4 -18
- package/dist/actions/batch-comparison.d.mts.map +1 -1
- package/dist/actions/batch-comparison.mjs +1 -0
- package/dist/actions/batch-comparison.mjs.map +1 -1
- package/dist/actions/batch-keyword-overview.cjs +1 -0
- package/dist/actions/batch-keyword-overview.cjs.map +1 -1
- package/dist/actions/batch-keyword-overview.d.cts +5 -23
- package/dist/actions/batch-keyword-overview.d.cts.map +1 -1
- package/dist/actions/batch-keyword-overview.d.mts +5 -23
- package/dist/actions/batch-keyword-overview.d.mts.map +1 -1
- package/dist/actions/batch-keyword-overview.mjs +1 -0
- package/dist/actions/batch-keyword-overview.mjs.map +1 -1
- package/dist/actions/broad-match-keyword.cjs +1 -0
- package/dist/actions/broad-match-keyword.cjs.map +1 -1
- package/dist/actions/broad-match-keyword.d.cts +7 -28
- package/dist/actions/broad-match-keyword.d.cts.map +1 -1
- package/dist/actions/broad-match-keyword.d.mts +7 -28
- package/dist/actions/broad-match-keyword.d.mts.map +1 -1
- package/dist/actions/broad-match-keyword.mjs +1 -0
- package/dist/actions/broad-match-keyword.mjs.map +1 -1
- package/dist/actions/categories-profile.cjs +1 -0
- package/dist/actions/categories-profile.cjs.map +1 -1
- package/dist/actions/categories-profile.d.cts +4 -20
- package/dist/actions/categories-profile.d.cts.map +1 -1
- package/dist/actions/categories-profile.d.mts +4 -20
- package/dist/actions/categories-profile.d.mts.map +1 -1
- package/dist/actions/categories-profile.mjs +1 -0
- package/dist/actions/categories-profile.mjs.map +1 -1
- package/dist/actions/categories.cjs +1 -0
- package/dist/actions/categories.cjs.map +1 -1
- package/dist/actions/categories.d.cts +4 -20
- package/dist/actions/categories.d.cts.map +1 -1
- package/dist/actions/categories.d.mts +4 -20
- package/dist/actions/categories.d.mts.map +1 -1
- package/dist/actions/categories.mjs +1 -0
- package/dist/actions/categories.mjs.map +1 -1
- package/dist/actions/competitors-in-organic-search.cjs +1 -0
- package/dist/actions/competitors-in-organic-search.cjs.map +1 -1
- package/dist/actions/competitors-in-organic-search.d.cts +5 -25
- package/dist/actions/competitors-in-organic-search.d.cts.map +1 -1
- package/dist/actions/competitors-in-organic-search.d.mts +5 -25
- package/dist/actions/competitors-in-organic-search.d.mts.map +1 -1
- package/dist/actions/competitors-in-organic-search.mjs +1 -0
- package/dist/actions/competitors-in-organic-search.mjs.map +1 -1
- package/dist/actions/competitors-in-paid-search.cjs +1 -0
- package/dist/actions/competitors-in-paid-search.cjs.map +1 -1
- package/dist/actions/competitors-in-paid-search.d.cts +5 -25
- package/dist/actions/competitors-in-paid-search.d.cts.map +1 -1
- package/dist/actions/competitors-in-paid-search.d.mts +5 -25
- package/dist/actions/competitors-in-paid-search.d.mts.map +1 -1
- package/dist/actions/competitors-in-paid-search.mjs +1 -0
- package/dist/actions/competitors-in-paid-search.mjs.map +1 -1
- package/dist/actions/competitors.cjs +1 -0
- package/dist/actions/competitors.cjs.map +1 -1
- package/dist/actions/competitors.d.cts +4 -21
- package/dist/actions/competitors.d.cts.map +1 -1
- package/dist/actions/competitors.d.mts +4 -21
- package/dist/actions/competitors.d.mts.map +1 -1
- package/dist/actions/competitors.mjs +1 -0
- package/dist/actions/competitors.mjs.map +1 -1
- package/dist/actions/domain-ad-history.cjs +1 -0
- package/dist/actions/domain-ad-history.cjs.map +1 -1
- package/dist/actions/domain-ad-history.d.cts +4 -23
- package/dist/actions/domain-ad-history.d.cts.map +1 -1
- package/dist/actions/domain-ad-history.d.mts +4 -23
- package/dist/actions/domain-ad-history.d.mts.map +1 -1
- package/dist/actions/domain-ad-history.mjs +1 -0
- package/dist/actions/domain-ad-history.mjs.map +1 -1
- package/dist/actions/domain-organic-pages.cjs +1 -0
- package/dist/actions/domain-organic-pages.cjs.map +1 -1
- package/dist/actions/domain-organic-pages.d.cts +6 -27
- package/dist/actions/domain-organic-pages.d.cts.map +1 -1
- package/dist/actions/domain-organic-pages.d.mts +6 -27
- package/dist/actions/domain-organic-pages.d.mts.map +1 -1
- package/dist/actions/domain-organic-pages.mjs +1 -0
- package/dist/actions/domain-organic-pages.mjs.map +1 -1
- package/dist/actions/domain-organic-search-keywords.cjs +1 -0
- package/dist/actions/domain-organic-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-organic-search-keywords.d.cts +9 -32
- package/dist/actions/domain-organic-search-keywords.d.cts.map +1 -1
- package/dist/actions/domain-organic-search-keywords.d.mts +9 -32
- package/dist/actions/domain-organic-search-keywords.d.mts.map +1 -1
- package/dist/actions/domain-organic-search-keywords.mjs +1 -0
- package/dist/actions/domain-organic-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-organic-subdomains.cjs +1 -0
- package/dist/actions/domain-organic-subdomains.cjs.map +1 -1
- package/dist/actions/domain-organic-subdomains.d.cts +5 -25
- package/dist/actions/domain-organic-subdomains.d.cts.map +1 -1
- package/dist/actions/domain-organic-subdomains.d.mts +5 -25
- package/dist/actions/domain-organic-subdomains.d.mts.map +1 -1
- package/dist/actions/domain-organic-subdomains.mjs +1 -0
- package/dist/actions/domain-organic-subdomains.mjs.map +1 -1
- package/dist/actions/domain-paid-search-keywords.cjs +1 -0
- package/dist/actions/domain-paid-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-paid-search-keywords.d.cts +5 -27
- package/dist/actions/domain-paid-search-keywords.d.cts.map +1 -1
- package/dist/actions/domain-paid-search-keywords.d.mts +5 -27
- package/dist/actions/domain-paid-search-keywords.d.mts.map +1 -1
- package/dist/actions/domain-paid-search-keywords.mjs +1 -0
- package/dist/actions/domain-paid-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-pla-search-keywords.cjs +1 -0
- package/dist/actions/domain-pla-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-pla-search-keywords.d.cts +4 -24
- package/dist/actions/domain-pla-search-keywords.d.cts.map +1 -1
- package/dist/actions/domain-pla-search-keywords.d.mts +4 -24
- package/dist/actions/domain-pla-search-keywords.d.mts.map +1 -1
- package/dist/actions/domain-pla-search-keywords.mjs +1 -0
- package/dist/actions/domain-pla-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-vs-domain.cjs +1 -0
- package/dist/actions/domain-vs-domain.cjs.map +1 -1
- package/dist/actions/domain-vs-domain.d.cts +5 -26
- package/dist/actions/domain-vs-domain.d.cts.map +1 -1
- package/dist/actions/domain-vs-domain.d.mts +5 -26
- package/dist/actions/domain-vs-domain.d.mts.map +1 -1
- package/dist/actions/domain-vs-domain.mjs +1 -0
- package/dist/actions/domain-vs-domain.mjs.map +1 -1
- package/dist/actions/historical-data.cjs +1 -0
- package/dist/actions/historical-data.cjs.map +1 -1
- package/dist/actions/historical-data.d.cts +3 -19
- package/dist/actions/historical-data.d.cts.map +1 -1
- package/dist/actions/historical-data.d.mts +3 -19
- package/dist/actions/historical-data.d.mts.map +1 -1
- package/dist/actions/historical-data.mjs +1 -0
- package/dist/actions/historical-data.mjs.map +1 -1
- package/dist/actions/indexed-pages.cjs +1 -0
- package/dist/actions/indexed-pages.cjs.map +1 -1
- package/dist/actions/indexed-pages.d.cts +4 -21
- package/dist/actions/indexed-pages.d.cts.map +1 -1
- package/dist/actions/indexed-pages.d.mts +4 -21
- package/dist/actions/indexed-pages.d.mts.map +1 -1
- package/dist/actions/indexed-pages.mjs +1 -0
- package/dist/actions/indexed-pages.mjs.map +1 -1
- package/dist/actions/keyword-difficulty.cjs +1 -0
- package/dist/actions/keyword-difficulty.cjs.map +1 -1
- package/dist/actions/keyword-difficulty.d.cts +4 -19
- package/dist/actions/keyword-difficulty.d.cts.map +1 -1
- package/dist/actions/keyword-difficulty.d.mts +4 -19
- package/dist/actions/keyword-difficulty.d.mts.map +1 -1
- package/dist/actions/keyword-difficulty.mjs +1 -0
- package/dist/actions/keyword-difficulty.mjs.map +1 -1
- package/dist/actions/keyword-overview-all-databases.cjs +1 -0
- package/dist/actions/keyword-overview-all-databases.cjs.map +1 -1
- package/dist/actions/keyword-overview-all-databases.d.cts +5 -21
- package/dist/actions/keyword-overview-all-databases.d.cts.map +1 -1
- package/dist/actions/keyword-overview-all-databases.d.mts +5 -21
- package/dist/actions/keyword-overview-all-databases.d.mts.map +1 -1
- package/dist/actions/keyword-overview-all-databases.mjs +1 -0
- package/dist/actions/keyword-overview-all-databases.mjs.map +1 -1
- package/dist/actions/keyword-overview-one-database.cjs +1 -0
- package/dist/actions/keyword-overview-one-database.cjs.map +1 -1
- package/dist/actions/keyword-overview-one-database.d.cts +5 -22
- package/dist/actions/keyword-overview-one-database.d.cts.map +1 -1
- package/dist/actions/keyword-overview-one-database.d.mts +5 -22
- package/dist/actions/keyword-overview-one-database.d.mts.map +1 -1
- package/dist/actions/keyword-overview-one-database.mjs +1 -0
- package/dist/actions/keyword-overview-one-database.mjs.map +1 -1
- package/dist/actions/keywords-ads-history.cjs +1 -0
- package/dist/actions/keywords-ads-history.cjs.map +1 -1
- package/dist/actions/keywords-ads-history.d.cts +6 -25
- package/dist/actions/keywords-ads-history.d.cts.map +1 -1
- package/dist/actions/keywords-ads-history.d.mts +6 -25
- package/dist/actions/keywords-ads-history.d.mts.map +1 -1
- package/dist/actions/keywords-ads-history.mjs +1 -0
- package/dist/actions/keywords-ads-history.mjs.map +1 -1
- package/dist/actions/organic-results.cjs +1 -0
- package/dist/actions/organic-results.cjs.map +1 -1
- package/dist/actions/organic-results.d.cts +5 -25
- package/dist/actions/organic-results.d.cts.map +1 -1
- package/dist/actions/organic-results.d.mts +5 -25
- package/dist/actions/organic-results.d.mts.map +1 -1
- package/dist/actions/organic-results.mjs +1 -0
- package/dist/actions/organic-results.mjs.map +1 -1
- package/dist/actions/paid-results.cjs +1 -0
- package/dist/actions/paid-results.cjs.map +1 -1
- package/dist/actions/paid-results.d.cts +4 -23
- package/dist/actions/paid-results.d.cts.map +1 -1
- package/dist/actions/paid-results.d.mts +4 -23
- package/dist/actions/paid-results.d.mts.map +1 -1
- package/dist/actions/paid-results.mjs +1 -0
- package/dist/actions/paid-results.mjs.map +1 -1
- package/dist/actions/phrase-questions.cjs +1 -0
- package/dist/actions/phrase-questions.cjs.map +1 -1
- package/dist/actions/phrase-questions.d.cts +5 -25
- package/dist/actions/phrase-questions.d.cts.map +1 -1
- package/dist/actions/phrase-questions.d.mts +5 -25
- package/dist/actions/phrase-questions.d.mts.map +1 -1
- package/dist/actions/phrase-questions.mjs +1 -0
- package/dist/actions/phrase-questions.mjs.map +1 -1
- package/dist/actions/pla-competitors.cjs +1 -0
- package/dist/actions/pla-competitors.cjs.map +1 -1
- package/dist/actions/pla-competitors.d.cts +5 -24
- package/dist/actions/pla-competitors.d.cts.map +1 -1
- package/dist/actions/pla-competitors.d.mts +5 -24
- package/dist/actions/pla-competitors.d.mts.map +1 -1
- package/dist/actions/pla-competitors.mjs +1 -0
- package/dist/actions/pla-competitors.mjs.map +1 -1
- package/dist/actions/pla-copies.cjs +1 -0
- package/dist/actions/pla-copies.cjs.map +1 -1
- package/dist/actions/pla-copies.d.cts +4 -24
- package/dist/actions/pla-copies.d.cts.map +1 -1
- package/dist/actions/pla-copies.d.mts +4 -24
- package/dist/actions/pla-copies.d.mts.map +1 -1
- package/dist/actions/pla-copies.mjs +1 -0
- package/dist/actions/pla-copies.mjs.map +1 -1
- package/dist/actions/referring-domains-by-country.cjs +1 -0
- package/dist/actions/referring-domains-by-country.cjs.map +1 -1
- package/dist/actions/referring-domains-by-country.d.cts +4 -21
- package/dist/actions/referring-domains-by-country.d.cts.map +1 -1
- package/dist/actions/referring-domains-by-country.d.mts +4 -21
- package/dist/actions/referring-domains-by-country.d.mts.map +1 -1
- package/dist/actions/referring-domains-by-country.mjs +1 -0
- package/dist/actions/referring-domains-by-country.mjs.map +1 -1
- package/dist/actions/referring-domains.cjs +1 -0
- package/dist/actions/referring-domains.cjs.map +1 -1
- package/dist/actions/referring-domains.d.cts +4 -22
- package/dist/actions/referring-domains.d.cts.map +1 -1
- package/dist/actions/referring-domains.d.mts +4 -22
- package/dist/actions/referring-domains.d.mts.map +1 -1
- package/dist/actions/referring-domains.mjs +1 -0
- package/dist/actions/referring-domains.mjs.map +1 -1
- package/dist/actions/referring-i-ps.cjs +1 -0
- package/dist/actions/referring-i-ps.cjs.map +1 -1
- package/dist/actions/referring-i-ps.d.cts +4 -21
- package/dist/actions/referring-i-ps.d.cts.map +1 -1
- package/dist/actions/referring-i-ps.d.mts +4 -21
- package/dist/actions/referring-i-ps.d.mts.map +1 -1
- package/dist/actions/referring-i-ps.mjs +1 -0
- package/dist/actions/referring-i-ps.mjs.map +1 -1
- package/dist/actions/related-keywords.cjs +1 -0
- package/dist/actions/related-keywords.cjs.map +1 -1
- package/dist/actions/related-keywords.d.cts +7 -28
- package/dist/actions/related-keywords.d.cts.map +1 -1
- package/dist/actions/related-keywords.d.mts +7 -28
- package/dist/actions/related-keywords.d.mts.map +1 -1
- package/dist/actions/related-keywords.mjs +1 -0
- package/dist/actions/related-keywords.mjs.map +1 -1
- package/dist/actions/tld-distribution.cjs +1 -0
- package/dist/actions/tld-distribution.cjs.map +1 -1
- package/dist/actions/tld-distribution.d.cts +4 -21
- package/dist/actions/tld-distribution.d.cts.map +1 -1
- package/dist/actions/tld-distribution.d.mts +4 -21
- package/dist/actions/tld-distribution.d.mts.map +1 -1
- package/dist/actions/tld-distribution.mjs +1 -0
- package/dist/actions/tld-distribution.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authority-score-profile.mjs","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushAuthorityScoreProfileInput = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\").nullable(),\n}).passthrough().describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"authority-score-profile.mjs","names":[],"sources":["../../src/actions/authority-score-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const SemrushAuthorityScoreProfileInput = z.object({\n target: z.string().describe(\"The target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"Specifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').\"),\n}).describe(\"Schema for providing the target and its type to retrieve the Authority Score profile.\");\nexport const SemrushAuthorityScoreProfileOutput = z.object({\n data: z.string().describe(\"A string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.\").nullable(),\n}).passthrough().describe(\"Schema for the response containing the Authority Score profile data.\");\n\nexport const semrushAuthorityScoreProfile: AppAction<\n typeof SemrushAuthorityScoreProfileInput,\n typeof SemrushAuthorityScoreProfileOutput,\n typeof semrush.credential\n> = action(\"SEMRUSH_AUTHORITY_SCORE_PROFILE\", {\n slug: \"semrush-authority-score-profile\",\n name: \"Get authority score profile\",\n description: \"Retrieves the Authority Score (AS) profile for a specified target, showing the count of referring domains that link to the target for each AS value from 0 to 100.\",\n input: SemrushAuthorityScoreProfileInput,\n output: SemrushAuthorityScoreProfileOutput,\n});\n"],"mappings":";;;AAcA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;EAC/M,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,0NAA0N;CAC3R,CAAC,CAAC,CAAC,SAAS,uFAaH;CACP,QAbgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP,CAAC,CAAC,SAAS,EAC3R,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks-overview.cjs","names":["z","action"],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).passthrough().describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"backlinks-overview.cjs","names":["z","action"],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).passthrough().describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview: AppAction<\n typeof SemrushBacklinksOverviewInput,\n typeof SemrushBacklinksOverviewOutput,\n typeof semrush.credential\n> = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtK,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACjI,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAe;EAAY;EAAW;EAAgB;EAAe;EAAiB;EAAiB;EAAW;EAAa;EAAc;EAAa;CAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAS;EAAQ;EAAc;EAAW;EAAU;EAAe;EAAc;EAAgB;EAAgB;EAAU;EAAY;EAAa;EAAY;CAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;AACvkB,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,50 +1,36 @@
|
|
|
1
|
+
import { semrush } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/backlinks-overview.d.ts
|
|
4
6
|
declare const SemrushBacklinksOverviewInput: z.ZodObject<{
|
|
5
7
|
target: z.ZodString;
|
|
6
8
|
target_type: z.ZodEnum<{
|
|
7
|
-
domain: "domain";
|
|
8
9
|
root_domain: "root_domain";
|
|
10
|
+
domain: "domain";
|
|
9
11
|
url: "url";
|
|
10
12
|
}>;
|
|
11
13
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
12
14
|
domains_num: "domains_num";
|
|
13
15
|
ascore: "ascore";
|
|
16
|
+
total: "total";
|
|
17
|
+
urls_num: "urls_num";
|
|
14
18
|
ips_num: "ips_num";
|
|
19
|
+
ipclassc_num: "ipclassc_num";
|
|
15
20
|
follows_num: "follows_num";
|
|
16
21
|
nofollows_num: "nofollows_num";
|
|
22
|
+
sponsored_num: "sponsored_num";
|
|
23
|
+
ugc_num: "ugc_num";
|
|
17
24
|
texts_num: "texts_num";
|
|
18
25
|
images_num: "images_num";
|
|
19
26
|
forms_num: "forms_num";
|
|
20
27
|
frames_num: "frames_num";
|
|
21
|
-
total: "total";
|
|
22
|
-
urls_num: "urls_num";
|
|
23
|
-
ipclassc_num: "ipclassc_num";
|
|
24
|
-
sponsored_num: "sponsored_num";
|
|
25
|
-
ugc_num: "ugc_num";
|
|
26
28
|
}>>>>;
|
|
27
29
|
}, z.core.$strip>;
|
|
28
30
|
declare const SemrushBacklinksOverviewOutput: z.ZodObject<{
|
|
29
31
|
data: z.ZodNullable<z.ZodString>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const semrushBacklinksOverview:
|
|
32
|
-
target: string;
|
|
33
|
-
target_type: "domain" | "root_domain" | "url";
|
|
34
|
-
export_columns?: ("domains_num" | "ascore" | "ips_num" | "follows_num" | "nofollows_num" | "texts_num" | "images_num" | "forms_num" | "frames_num" | "total" | "urls_num" | "ipclassc_num" | "sponsored_num" | "ugc_num")[] | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const semrushBacklinksOverview: AppAction<typeof SemrushBacklinksOverviewInput, typeof SemrushBacklinksOverviewOutput, typeof semrush.credential>;
|
|
48
34
|
//#endregion
|
|
49
35
|
export { semrushBacklinksOverview };
|
|
50
36
|
//# sourceMappingURL=backlinks-overview.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks-overview.d.cts","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"backlinks-overview.d.cts","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,50 +1,36 @@
|
|
|
1
|
+
import { semrush } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/backlinks-overview.d.ts
|
|
4
6
|
declare const SemrushBacklinksOverviewInput: z.ZodObject<{
|
|
5
7
|
target: z.ZodString;
|
|
6
8
|
target_type: z.ZodEnum<{
|
|
7
|
-
domain: "domain";
|
|
8
9
|
root_domain: "root_domain";
|
|
10
|
+
domain: "domain";
|
|
9
11
|
url: "url";
|
|
10
12
|
}>;
|
|
11
13
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
12
14
|
domains_num: "domains_num";
|
|
13
15
|
ascore: "ascore";
|
|
16
|
+
total: "total";
|
|
17
|
+
urls_num: "urls_num";
|
|
14
18
|
ips_num: "ips_num";
|
|
19
|
+
ipclassc_num: "ipclassc_num";
|
|
15
20
|
follows_num: "follows_num";
|
|
16
21
|
nofollows_num: "nofollows_num";
|
|
22
|
+
sponsored_num: "sponsored_num";
|
|
23
|
+
ugc_num: "ugc_num";
|
|
17
24
|
texts_num: "texts_num";
|
|
18
25
|
images_num: "images_num";
|
|
19
26
|
forms_num: "forms_num";
|
|
20
27
|
frames_num: "frames_num";
|
|
21
|
-
total: "total";
|
|
22
|
-
urls_num: "urls_num";
|
|
23
|
-
ipclassc_num: "ipclassc_num";
|
|
24
|
-
sponsored_num: "sponsored_num";
|
|
25
|
-
ugc_num: "ugc_num";
|
|
26
28
|
}>>>>;
|
|
27
29
|
}, z.core.$strip>;
|
|
28
30
|
declare const SemrushBacklinksOverviewOutput: z.ZodObject<{
|
|
29
31
|
data: z.ZodNullable<z.ZodString>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const semrushBacklinksOverview:
|
|
32
|
-
target: string;
|
|
33
|
-
target_type: "domain" | "root_domain" | "url";
|
|
34
|
-
export_columns?: ("domains_num" | "ascore" | "ips_num" | "follows_num" | "nofollows_num" | "texts_num" | "images_num" | "forms_num" | "frames_num" | "total" | "urls_num" | "ipclassc_num" | "sponsored_num" | "ugc_num")[] | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const semrushBacklinksOverview: AppAction<typeof SemrushBacklinksOverviewInput, typeof SemrushBacklinksOverviewOutput, typeof semrush.credential>;
|
|
48
34
|
//#endregion
|
|
49
35
|
export { semrushBacklinksOverview };
|
|
50
36
|
//# sourceMappingURL=backlinks-overview.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks-overview.d.mts","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"backlinks-overview.d.mts","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks-overview.mjs","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).passthrough().describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"backlinks-overview.mjs","names":[],"sources":["../../src/actions/backlinks-overview.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const SemrushBacklinksOverviewInput = z.object({\n target: z.string().describe(\"The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.\"),\n target_type: z.enum([\"root_domain\", \"domain\", \"url\"]).describe(\"The type of the `target` (e.g., 'root_domain', 'domain', 'url').\"),\n export_columns: z.array(z.enum([\"ascore\", \"total\", \"domains_num\", \"urls_num\", \"ips_num\", \"ipclassc_num\", \"follows_num\", \"nofollows_num\", \"sponsored_num\", \"ugc_num\", \"texts_num\", \"images_num\", \"forms_num\", \"frames_num\"])).default([\"ascore\",\"total\",\"domains_num\",\"urls_num\",\"ips_num\",\"ipclassc_num\",\"follows_num\",\"nofollows_num\",\"sponsored_num\",\"ugc_num\",\"texts_num\",\"images_num\",\"forms_num\",\"frames_num\"]).describe(\"Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.\").optional(),\n}).describe(\"Parameters for the Backlinks Overview action.\");\nexport const SemrushBacklinksOverviewOutput = z.object({\n data: z.string().describe(\"CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.\").nullable(),\n}).passthrough().describe(\"Output of the Backlinks Overview action.\");\n\nexport const semrushBacklinksOverview: AppAction<\n typeof SemrushBacklinksOverviewInput,\n typeof SemrushBacklinksOverviewOutput,\n typeof semrush.credential\n> = action(\"SEMRUSH_BACKLINKS_OVERVIEW\", {\n slug: \"semrush-backlinks-overview\",\n name: \"Backlinks overview\",\n description: \"Provides a semicolon-delimited (sep=';') CSV summary of backlinks, including Authority Score and link type breakdowns, for a specified and publicly accessible domain, root domain, or URL. A result of 'ERROR 50 :: NOTHING FOUND' means the target has no data in the database and is a valid zero-result response.\",\n input: SemrushBacklinksOverviewInput,\n output: SemrushBacklinksOverviewOutput,\n});\n"],"mappings":";;;AAeA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACtK,aAAa,EAAE,KAAK;GAAC;GAAe;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACjI,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAU;GAAS;GAAe;GAAY;GAAW;GAAgB;GAAe;GAAiB;GAAiB;GAAW;GAAa;GAAc;GAAa;EAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAS;GAAQ;GAAc;GAAW;GAAU;GAAe;GAAc;GAAgB;GAAgB;GAAU;GAAY;GAAa;GAAY;EAAY,CAAC,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACvkB,CAAC,CAAC,CAAC,SAAS,+CAaH;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"backlinks.cjs","names":["z","action"],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const 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: AppAction<\n typeof SemrushBacklinksInput,\n typeof SemrushBacklinksOutput,\n typeof semrush.credential\n> = 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":";;;;AAMA,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,mBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { semrush } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/backlinks.d.ts
|
|
4
6
|
declare const SemrushBacklinksInput: z.ZodObject<{
|
|
5
7
|
target: z.ZodString;
|
|
6
8
|
target_type: z.ZodEnum<{
|
|
7
|
-
domain: "domain";
|
|
8
9
|
root_domain: "root_domain";
|
|
10
|
+
domain: "domain";
|
|
9
11
|
url: "url";
|
|
10
12
|
}>;
|
|
11
13
|
display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
@@ -57,27 +59,7 @@ declare const SemrushBacklinksInput: z.ZodObject<{
|
|
|
57
59
|
declare const SemrushBacklinksOutput: z.ZodObject<{
|
|
58
60
|
data: z.ZodNullable<z.ZodString>;
|
|
59
61
|
}, z.core.$loose>;
|
|
60
|
-
declare const semrushBacklinks:
|
|
61
|
-
target: string;
|
|
62
|
-
target_type: "domain" | "root_domain" | "url";
|
|
63
|
-
display_sort?: "first_seen_asc" | "first_seen_desc" | "last_seen_asc" | "last_seen_desc" | "page_ascore_asc" | "page_ascore_desc" | undefined;
|
|
64
|
-
display_limit?: number | undefined;
|
|
65
|
-
display_filter?: ("type" | "anchor" | "zone" | "ip" | "refdomain" | "newlink" | "lostlink" | "urlanchor" | "redirects")[] | undefined;
|
|
66
|
-
display_offset?: number | undefined;
|
|
67
|
-
export_columns?: ("anchor" | "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;
|
|
68
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
69
|
-
connectionId: z.ZodString;
|
|
70
|
-
entityId: z.ZodString;
|
|
71
|
-
instanceId: z.ZodString;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
generic_api_key: z.ZodString;
|
|
74
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
75
|
-
connectionId: z.ZodString;
|
|
76
|
-
entityId: z.ZodString;
|
|
77
|
-
instanceId: z.ZodString;
|
|
78
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
-
generic_api_key: z.ZodString;
|
|
80
|
-
}, z.core.$strip>>]>;
|
|
62
|
+
declare const semrushBacklinks: AppAction<typeof SemrushBacklinksInput, typeof SemrushBacklinksOutput, typeof semrush.credential>;
|
|
81
63
|
//#endregion
|
|
82
64
|
export { semrushBacklinks };
|
|
83
65
|
//# sourceMappingURL=backlinks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks.d.cts","names":[],"sources":["../../src/actions/backlinks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"backlinks.d.cts","names":[],"sources":["../../src/actions/backlinks.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { semrush } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/backlinks.d.ts
|
|
4
6
|
declare const SemrushBacklinksInput: z.ZodObject<{
|
|
5
7
|
target: z.ZodString;
|
|
6
8
|
target_type: z.ZodEnum<{
|
|
7
|
-
domain: "domain";
|
|
8
9
|
root_domain: "root_domain";
|
|
10
|
+
domain: "domain";
|
|
9
11
|
url: "url";
|
|
10
12
|
}>;
|
|
11
13
|
display_sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
@@ -57,27 +59,7 @@ declare const SemrushBacklinksInput: z.ZodObject<{
|
|
|
57
59
|
declare const SemrushBacklinksOutput: z.ZodObject<{
|
|
58
60
|
data: z.ZodNullable<z.ZodString>;
|
|
59
61
|
}, z.core.$loose>;
|
|
60
|
-
declare const semrushBacklinks:
|
|
61
|
-
target: string;
|
|
62
|
-
target_type: "domain" | "root_domain" | "url";
|
|
63
|
-
display_sort?: "first_seen_asc" | "first_seen_desc" | "last_seen_asc" | "last_seen_desc" | "page_ascore_asc" | "page_ascore_desc" | undefined;
|
|
64
|
-
display_limit?: number | undefined;
|
|
65
|
-
display_filter?: ("type" | "anchor" | "zone" | "ip" | "refdomain" | "newlink" | "lostlink" | "urlanchor" | "redirects")[] | undefined;
|
|
66
|
-
display_offset?: number | undefined;
|
|
67
|
-
export_columns?: ("anchor" | "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;
|
|
68
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
69
|
-
connectionId: z.ZodString;
|
|
70
|
-
entityId: z.ZodString;
|
|
71
|
-
instanceId: z.ZodString;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
generic_api_key: z.ZodString;
|
|
74
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
75
|
-
connectionId: z.ZodString;
|
|
76
|
-
entityId: z.ZodString;
|
|
77
|
-
instanceId: z.ZodString;
|
|
78
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
-
generic_api_key: z.ZodString;
|
|
80
|
-
}, z.core.$strip>>]>;
|
|
62
|
+
declare const semrushBacklinks: AppAction<typeof SemrushBacklinksInput, typeof SemrushBacklinksOutput, typeof semrush.credential>;
|
|
81
63
|
//#endregion
|
|
82
64
|
export { semrushBacklinks };
|
|
83
65
|
//# sourceMappingURL=backlinks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backlinks.d.mts","names":[],"sources":["../../src/actions/backlinks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"backlinks.d.mts","names":[],"sources":["../../src/actions/backlinks.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"backlinks.mjs","names":[],"sources":["../../src/actions/backlinks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const 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: AppAction<\n typeof SemrushBacklinksInput,\n typeof SemrushBacklinksOutput,\n typeof semrush.credential\n> = 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":";;;AAmBA,MAAa,mBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmC,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,sDAaH;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"batch-comparison.cjs","names":["z","action"],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const 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: AppAction<\n typeof SemrushBatchComparisonInput,\n typeof SemrushBatchComparisonOutput,\n typeof semrush.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { semrush } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/batch-comparison.d.ts
|
|
4
6
|
declare const SemrushBatchComparisonInput: z.ZodObject<{
|
|
5
7
|
targets: z.ZodArray<z.ZodString>;
|
|
6
8
|
target_types: z.ZodArray<z.ZodEnum<{
|
|
7
|
-
domain: "domain";
|
|
8
9
|
root_domain: "root_domain";
|
|
10
|
+
domain: "domain";
|
|
9
11
|
url: "url";
|
|
10
12
|
}>>;
|
|
11
13
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -26,23 +28,7 @@ declare const SemrushBatchComparisonInput: z.ZodObject<{
|
|
|
26
28
|
declare const SemrushBatchComparisonOutput: z.ZodObject<{
|
|
27
29
|
data: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const semrushBatchComparison:
|
|
30
|
-
targets: string[];
|
|
31
|
-
target_types: ("domain" | "root_domain" | "url")[];
|
|
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
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const semrushBatchComparison: AppAction<typeof SemrushBatchComparisonInput, typeof SemrushBatchComparisonOutput, typeof semrush.credential>;
|
|
46
32
|
//#endregion
|
|
47
33
|
export { semrushBatchComparison };
|
|
48
34
|
//# sourceMappingURL=batch-comparison.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-comparison.d.cts","names":[],"sources":["../../src/actions/batch-comparison.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"batch-comparison.d.cts","names":[],"sources":["../../src/actions/batch-comparison.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { semrush } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/batch-comparison.d.ts
|
|
4
6
|
declare const SemrushBatchComparisonInput: z.ZodObject<{
|
|
5
7
|
targets: z.ZodArray<z.ZodString>;
|
|
6
8
|
target_types: z.ZodArray<z.ZodEnum<{
|
|
7
|
-
domain: "domain";
|
|
8
9
|
root_domain: "root_domain";
|
|
10
|
+
domain: "domain";
|
|
9
11
|
url: "url";
|
|
10
12
|
}>>;
|
|
11
13
|
export_columns: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
@@ -26,23 +28,7 @@ declare const SemrushBatchComparisonInput: z.ZodObject<{
|
|
|
26
28
|
declare const SemrushBatchComparisonOutput: z.ZodObject<{
|
|
27
29
|
data: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const semrushBatchComparison:
|
|
30
|
-
targets: string[];
|
|
31
|
-
target_types: ("domain" | "root_domain" | "url")[];
|
|
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
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"semrush", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const semrushBatchComparison: AppAction<typeof SemrushBatchComparisonInput, typeof SemrushBatchComparisonOutput, typeof semrush.credential>;
|
|
46
32
|
//#endregion
|
|
47
33
|
export { semrushBatchComparison };
|
|
48
34
|
//# sourceMappingURL=batch-comparison.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-comparison.d.mts","names":[],"sources":["../../src/actions/batch-comparison.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"batch-comparison.d.mts","names":[],"sources":["../../src/actions/batch-comparison.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"batch-comparison.mjs","names":[],"sources":["../../src/actions/batch-comparison.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const 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: AppAction<\n typeof SemrushBatchComparisonInput,\n typeof SemrushBatchComparisonOutput,\n typeof semrush.credential\n> = 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":";;;AAeA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,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,sCAaH;CACP,QAb0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -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}).passthrough();\n\nexport const semrushBatchKeywordOverview = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"batch-keyword-overview.cjs","names":["z","action"],"sources":["../../src/actions/batch-keyword-overview.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { semrush } from \"../app\";\n\nexport const SemrushBatchKeywordOverviewInput = z.object({\n phrase: z.string().describe(\"Up to 100 keywords to analyze. Keywords can be separated by newlines ('\\\\n') or semicolons (';'). The API requires semicolon-separated format with total phrase length of 1-255 characters. Newlines are automatically converted to semicolons. If you have many keywords, consider reducing the list or using shorter keyword phrases to stay within the 255-character limit.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases. Database choice materially affects returned search volume and keyword difficulty values.\"),\n display_date: z.string().describe(\"Date in \\\"YYYYMM15\\\" format for past month data (e.g., \\\"20231215\\\"); uses most recent data if omitted.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap report columns in double quotation marks (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns:\\n- Ph: Keyword/Phrase analyzed.\\n- Nq: Search Volume (avg. monthly queries).\\n- Cp: Cost-Per-Click (avg. CPC).\\n- Co: Competition level of advertisers.\\n- Nr: Number of URLs in organic results.\\n- Td: Search volume trend (last 12 months).\\n- In: Searcher intent (informational, navigational, commercial, transactional).\\n- Kd: Keyword Difficulty score.\").optional(),\n}).passthrough();\nexport const SemrushBatchKeywordOverviewOutput = z.object({\n keyword_data: z.string().describe(\"A string containing the keyword overview data, typically in a delimited format (e.g., CSV-like). The content and structure are determined by the request's export parameters. Each line in the string usually corresponds to a keyword.\").nullable(),\n composio_execution_message: z.string().describe(\"Message explaining any modifications made to user input (e.g., phrase truncation or conversion).\").nullable().optional(),\n}).passthrough();\n\nexport const semrushBatchKeywordOverview: AppAction<\n typeof SemrushBatchKeywordOverviewInput,\n typeof SemrushBatchKeywordOverviewOutput,\n typeof semrush.credential\n> = action(\"SEMRUSH_BATCH_KEYWORD_OVERVIEW\", {\n slug: \"semrush-batch-keyword-overview\",\n name: \"Batch keyword overview\",\n description: \"Fetches a keyword overview report from a Semrush regional database for up to 100 keywords, providing metrics like search volume, CPC, and keyword difficulty. Response is CSV-like text (not JSON); parse accordingly. Returns literal string 'ERROR 50 :: NOTHING FOUND' for keywords with no data in the selected database — treat as zero results and fall back to SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE or SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES for those terms.\",\n input: SemrushBatchKeywordOverviewInput,\n output: SemrushBatchKeywordOverviewOutput,\n});\n"],"mappings":";;;;AAMA,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;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAU;EAAU;EAAU;EAAU;EAAU;EAAU;EAAU;EAAiB;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,qPAAqP;CAC3xC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACtK,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACtK,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,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,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|