@keystrokehq/semrush 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/account-units-balance.cjs +1 -1
- package/dist/actions/account-units-balance.cjs.map +1 -1
- package/dist/actions/account-units-balance.d.cts +1 -1
- package/dist/actions/account-units-balance.d.mts +1 -1
- package/dist/actions/account-units-balance.mjs +1 -1
- package/dist/actions/account-units-balance.mjs.map +1 -1
- package/dist/actions/ads-copies.cjs +1 -1
- package/dist/actions/ads-copies.cjs.map +1 -1
- package/dist/actions/ads-copies.d.cts +5 -5
- package/dist/actions/ads-copies.d.mts +5 -5
- package/dist/actions/ads-copies.mjs +1 -1
- package/dist/actions/ads-copies.mjs.map +1 -1
- package/dist/actions/anchors.cjs +1 -1
- package/dist/actions/anchors.cjs.map +1 -1
- package/dist/actions/anchors.d.cts +6 -6
- package/dist/actions/anchors.d.mts +6 -6
- package/dist/actions/anchors.mjs +1 -1
- package/dist/actions/anchors.mjs.map +1 -1
- package/dist/actions/authority-score-profile.cjs +1 -1
- package/dist/actions/authority-score-profile.cjs.map +1 -1
- package/dist/actions/authority-score-profile.d.cts +3 -3
- package/dist/actions/authority-score-profile.d.mts +3 -3
- package/dist/actions/authority-score-profile.mjs +1 -1
- package/dist/actions/authority-score-profile.mjs.map +1 -1
- package/dist/actions/backlinks-overview.cjs +1 -1
- package/dist/actions/backlinks-overview.cjs.map +1 -1
- package/dist/actions/backlinks-overview.d.cts +10 -10
- package/dist/actions/backlinks-overview.d.mts +10 -10
- package/dist/actions/backlinks-overview.mjs +1 -1
- package/dist/actions/backlinks-overview.mjs.map +1 -1
- package/dist/actions/backlinks.cjs +1 -1
- package/dist/actions/backlinks.cjs.map +1 -1
- package/dist/actions/backlinks.d.cts +3 -3
- package/dist/actions/backlinks.d.mts +3 -3
- package/dist/actions/backlinks.mjs +1 -1
- package/dist/actions/backlinks.mjs.map +1 -1
- package/dist/actions/batch-comparison.cjs +1 -1
- package/dist/actions/batch-comparison.cjs.map +1 -1
- package/dist/actions/batch-comparison.d.cts +6 -6
- package/dist/actions/batch-comparison.d.mts +6 -6
- package/dist/actions/batch-comparison.mjs +1 -1
- package/dist/actions/batch-comparison.mjs.map +1 -1
- package/dist/actions/batch-keyword-overview.cjs +1 -1
- package/dist/actions/batch-keyword-overview.cjs.map +1 -1
- package/dist/actions/batch-keyword-overview.d.cts +5 -5
- package/dist/actions/batch-keyword-overview.d.mts +5 -5
- package/dist/actions/batch-keyword-overview.mjs +1 -1
- package/dist/actions/batch-keyword-overview.mjs.map +1 -1
- package/dist/actions/broad-match-keyword.cjs +1 -1
- package/dist/actions/broad-match-keyword.cjs.map +1 -1
- package/dist/actions/broad-match-keyword.d.cts +5 -5
- package/dist/actions/broad-match-keyword.d.mts +5 -5
- package/dist/actions/broad-match-keyword.mjs +1 -1
- package/dist/actions/broad-match-keyword.mjs.map +1 -1
- package/dist/actions/categories-profile.cjs +1 -1
- package/dist/actions/categories-profile.cjs.map +1 -1
- package/dist/actions/categories-profile.d.cts +3 -3
- package/dist/actions/categories-profile.d.mts +3 -3
- package/dist/actions/categories-profile.mjs +1 -1
- package/dist/actions/categories-profile.mjs.map +1 -1
- package/dist/actions/categories.cjs +1 -1
- package/dist/actions/categories.cjs.map +1 -1
- package/dist/actions/categories.d.cts +3 -3
- package/dist/actions/categories.d.mts +3 -3
- package/dist/actions/categories.mjs +1 -1
- package/dist/actions/categories.mjs.map +1 -1
- package/dist/actions/competitors-in-organic-search.cjs +1 -1
- package/dist/actions/competitors-in-organic-search.cjs.map +1 -1
- package/dist/actions/competitors-in-organic-search.d.cts +9 -9
- package/dist/actions/competitors-in-organic-search.d.mts +9 -9
- package/dist/actions/competitors-in-organic-search.mjs +1 -1
- package/dist/actions/competitors-in-organic-search.mjs.map +1 -1
- package/dist/actions/competitors-in-paid-search.cjs +1 -1
- package/dist/actions/competitors-in-paid-search.cjs.map +1 -1
- package/dist/actions/competitors-in-paid-search.d.cts +7 -7
- package/dist/actions/competitors-in-paid-search.d.mts +7 -7
- package/dist/actions/competitors-in-paid-search.mjs +1 -1
- package/dist/actions/competitors-in-paid-search.mjs.map +1 -1
- package/dist/actions/competitors.cjs +1 -1
- package/dist/actions/competitors.cjs.map +1 -1
- package/dist/actions/competitors.d.cts +6 -6
- package/dist/actions/competitors.d.mts +6 -6
- package/dist/actions/competitors.mjs +1 -1
- package/dist/actions/competitors.mjs.map +1 -1
- package/dist/actions/domain-ad-history.cjs +1 -1
- package/dist/actions/domain-ad-history.cjs.map +1 -1
- package/dist/actions/domain-ad-history.d.cts +10 -10
- package/dist/actions/domain-ad-history.d.mts +10 -10
- package/dist/actions/domain-ad-history.mjs +1 -1
- package/dist/actions/domain-ad-history.mjs.map +1 -1
- package/dist/actions/domain-organic-pages.cjs +1 -1
- package/dist/actions/domain-organic-pages.cjs.map +1 -1
- package/dist/actions/domain-organic-pages.d.cts +11 -11
- package/dist/actions/domain-organic-pages.d.mts +11 -11
- package/dist/actions/domain-organic-pages.mjs +1 -1
- package/dist/actions/domain-organic-pages.mjs.map +1 -1
- package/dist/actions/domain-organic-search-keywords.cjs +1 -1
- package/dist/actions/domain-organic-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-organic-search-keywords.d.cts +16 -16
- package/dist/actions/domain-organic-search-keywords.d.mts +16 -16
- package/dist/actions/domain-organic-search-keywords.mjs +1 -1
- package/dist/actions/domain-organic-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-organic-subdomains.cjs +1 -1
- package/dist/actions/domain-organic-subdomains.cjs.map +1 -1
- package/dist/actions/domain-organic-subdomains.d.cts +8 -8
- package/dist/actions/domain-organic-subdomains.d.mts +8 -8
- package/dist/actions/domain-organic-subdomains.mjs +1 -1
- package/dist/actions/domain-organic-subdomains.mjs.map +1 -1
- package/dist/actions/domain-paid-search-keywords.cjs +1 -1
- package/dist/actions/domain-paid-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-paid-search-keywords.d.cts +13 -13
- package/dist/actions/domain-paid-search-keywords.d.mts +13 -13
- package/dist/actions/domain-paid-search-keywords.mjs +1 -1
- package/dist/actions/domain-paid-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-pla-search-keywords.cjs +1 -1
- package/dist/actions/domain-pla-search-keywords.cjs.map +1 -1
- package/dist/actions/domain-pla-search-keywords.d.cts +5 -5
- package/dist/actions/domain-pla-search-keywords.d.mts +5 -5
- package/dist/actions/domain-pla-search-keywords.mjs +1 -1
- package/dist/actions/domain-pla-search-keywords.mjs.map +1 -1
- package/dist/actions/domain-vs-domain.cjs +1 -1
- package/dist/actions/domain-vs-domain.cjs.map +1 -1
- package/dist/actions/domain-vs-domain.d.cts +5 -5
- package/dist/actions/domain-vs-domain.d.mts +5 -5
- package/dist/actions/domain-vs-domain.mjs +1 -1
- package/dist/actions/domain-vs-domain.mjs.map +1 -1
- package/dist/actions/historical-data.cjs +1 -1
- package/dist/actions/historical-data.cjs.map +1 -1
- package/dist/actions/historical-data.d.cts +3 -3
- package/dist/actions/historical-data.d.mts +3 -3
- package/dist/actions/historical-data.mjs +1 -1
- package/dist/actions/historical-data.mjs.map +1 -1
- package/dist/actions/indexed-pages.cjs +1 -1
- package/dist/actions/indexed-pages.cjs.map +1 -1
- package/dist/actions/indexed-pages.d.cts +5 -5
- package/dist/actions/indexed-pages.d.mts +5 -5
- package/dist/actions/indexed-pages.mjs +1 -1
- package/dist/actions/indexed-pages.mjs.map +1 -1
- package/dist/actions/keyword-difficulty.cjs +1 -1
- package/dist/actions/keyword-difficulty.cjs.map +1 -1
- package/dist/actions/keyword-difficulty.d.cts +5 -5
- package/dist/actions/keyword-difficulty.d.mts +5 -5
- package/dist/actions/keyword-difficulty.mjs +1 -1
- package/dist/actions/keyword-difficulty.mjs.map +1 -1
- package/dist/actions/keyword-overview-all-databases.cjs +1 -1
- package/dist/actions/keyword-overview-all-databases.cjs.map +1 -1
- package/dist/actions/keyword-overview-all-databases.d.cts +5 -5
- package/dist/actions/keyword-overview-all-databases.d.mts +5 -5
- package/dist/actions/keyword-overview-all-databases.mjs +1 -1
- package/dist/actions/keyword-overview-all-databases.mjs.map +1 -1
- package/dist/actions/keyword-overview-one-database.cjs +1 -1
- package/dist/actions/keyword-overview-one-database.cjs.map +1 -1
- package/dist/actions/keyword-overview-one-database.d.cts +5 -5
- package/dist/actions/keyword-overview-one-database.d.mts +5 -5
- package/dist/actions/keyword-overview-one-database.mjs +1 -1
- package/dist/actions/keyword-overview-one-database.mjs.map +1 -1
- package/dist/actions/keywords-ads-history.cjs +1 -1
- package/dist/actions/keywords-ads-history.cjs.map +1 -1
- package/dist/actions/keywords-ads-history.d.cts +7 -7
- package/dist/actions/keywords-ads-history.d.mts +7 -7
- package/dist/actions/keywords-ads-history.mjs +1 -1
- package/dist/actions/keywords-ads-history.mjs.map +1 -1
- package/dist/actions/organic-results.cjs +1 -1
- package/dist/actions/organic-results.cjs.map +1 -1
- package/dist/actions/organic-results.d.cts +5 -5
- package/dist/actions/organic-results.d.mts +5 -5
- package/dist/actions/organic-results.mjs +1 -1
- package/dist/actions/organic-results.mjs.map +1 -1
- package/dist/actions/paid-results.cjs +1 -1
- package/dist/actions/paid-results.cjs.map +1 -1
- package/dist/actions/paid-results.d.cts +5 -5
- package/dist/actions/paid-results.d.mts +5 -5
- package/dist/actions/paid-results.mjs +1 -1
- package/dist/actions/paid-results.mjs.map +1 -1
- package/dist/actions/phrase-questions.cjs +1 -1
- package/dist/actions/phrase-questions.cjs.map +1 -1
- package/dist/actions/phrase-questions.d.cts +5 -5
- package/dist/actions/phrase-questions.d.mts +5 -5
- package/dist/actions/phrase-questions.mjs +1 -1
- package/dist/actions/phrase-questions.mjs.map +1 -1
- package/dist/actions/pla-competitors.cjs +1 -1
- package/dist/actions/pla-competitors.cjs.map +1 -1
- package/dist/actions/pla-competitors.d.cts +7 -7
- package/dist/actions/pla-competitors.d.mts +7 -7
- package/dist/actions/pla-competitors.mjs +1 -1
- package/dist/actions/pla-competitors.mjs.map +1 -1
- package/dist/actions/pla-copies.cjs +1 -1
- package/dist/actions/pla-copies.cjs.map +1 -1
- package/dist/actions/pla-copies.d.cts +5 -5
- package/dist/actions/pla-copies.d.mts +5 -5
- package/dist/actions/pla-copies.mjs +1 -1
- package/dist/actions/pla-copies.mjs.map +1 -1
- package/dist/actions/referring-domains-by-country.cjs +1 -1
- package/dist/actions/referring-domains-by-country.cjs.map +1 -1
- package/dist/actions/referring-domains-by-country.d.cts +5 -5
- package/dist/actions/referring-domains-by-country.d.mts +5 -5
- package/dist/actions/referring-domains-by-country.mjs +1 -1
- package/dist/actions/referring-domains-by-country.mjs.map +1 -1
- package/dist/actions/referring-domains.cjs +1 -1
- package/dist/actions/referring-domains.cjs.map +1 -1
- package/dist/actions/referring-domains.d.cts +3 -3
- package/dist/actions/referring-domains.d.mts +3 -3
- package/dist/actions/referring-domains.mjs +1 -1
- package/dist/actions/referring-domains.mjs.map +1 -1
- package/dist/actions/referring-i-ps.cjs +1 -1
- package/dist/actions/referring-i-ps.cjs.map +1 -1
- package/dist/actions/referring-i-ps.d.cts +5 -5
- package/dist/actions/referring-i-ps.d.mts +5 -5
- package/dist/actions/referring-i-ps.mjs +1 -1
- package/dist/actions/referring-i-ps.mjs.map +1 -1
- package/dist/actions/related-keywords.cjs +1 -1
- package/dist/actions/related-keywords.cjs.map +1 -1
- package/dist/actions/related-keywords.d.cts +5 -5
- package/dist/actions/related-keywords.d.mts +5 -5
- package/dist/actions/related-keywords.mjs +1 -1
- package/dist/actions/related-keywords.mjs.map +1 -1
- package/dist/actions/tld-distribution.cjs +1 -1
- package/dist/actions/tld-distribution.cjs.map +1 -1
- package/dist/actions/tld-distribution.d.cts +5 -5
- package/dist/actions/tld-distribution.d.mts +5 -5
- package/dist/actions/tld-distribution.mjs +1 -1
- package/dist/actions/tld-distribution.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword-difficulty.mjs","names":[],"sources":["../../src/actions/keyword-difficulty.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordDifficultyInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to analyze for difficulty. Minor wording variations produce different KD scores; normalize phrases before comparing results.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'ca'). Refer to the Semrush API documentation for a complete list of valid database codes: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases.\"),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Kd\"])).default([\"Ph\",\"Kd\"]).describe(\"Specifies columns to include in the output (e.g., 'Ph' for Phrase, 'Kd' for Keyword Difficulty). Uses all available columns if omitted.\").optional(),\n});\nexport const SemrushKeywordDifficultyOutput = z.object({\n data: z.string().describe(\"The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.\").nullable(),\n}).describe(\"Contains the keyword difficulty report data from the Semrush API.\");\n\nexport const semrushKeywordDifficulty = action(\"SEMRUSH_KEYWORD_DIFFICULTY\", {\n slug: \"semrush-keyword-difficulty\",\n name: \"Get keyword difficulty\",\n description: \"Determines the Keyword Difficulty (KD) score (0-100, higher means greater difficulty) for a given phrase in a specific Semrush regional database to assess its SEO competitiveness. Returns CSV-formatted text; parse before programmatic use.\",\n input: SemrushKeywordDifficultyInput,\n output: SemrushKeywordDifficultyOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACxL,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GA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CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"keyword-difficulty.mjs","names":[],"sources":["../../src/actions/keyword-difficulty.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordDifficultyInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to analyze for difficulty. Minor wording variations produce different KD scores; normalize phrases before comparing results.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"The Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'ca'). Refer to the Semrush API documentation for a complete list of valid database codes: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases.\"),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes (\\\"), or 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Kd\"])).default([\"Ph\",\"Kd\"]).describe(\"Specifies columns to include in the output (e.g., 'Ph' for Phrase, 'Kd' for Keyword Difficulty). Uses all available columns if omitted.\").optional(),\n});\nexport const SemrushKeywordDifficultyOutput = z.object({\n data: z.string().describe(\"The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.\").nullable(),\n}).passthrough().describe(\"Contains the keyword difficulty report data from the Semrush API.\");\n\nexport const semrushKeywordDifficulty = action(\"SEMRUSH_KEYWORD_DIFFICULTY\", {\n slug: \"semrush-keyword-difficulty\",\n name: \"Get keyword difficulty\",\n description: \"Determines the Keyword Difficulty (KD) score (0-100, higher means greater difficulty) for a given phrase in a specific Semrush regional database to assess its SEO competitiveness. Returns CSV-formatted text; parse before programmatic use.\",\n input: SemrushKeywordDifficultyInput,\n output: SemrushKeywordDifficultyOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACxL,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;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C,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
@@ -175,7 +175,7 @@ const SemrushKeywordOverviewAllDatabasesInput = zod.z.object({
|
|
|
175
175
|
"Kd"
|
|
176
176
|
]).describe("Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).").optional()
|
|
177
177
|
});
|
|
178
|
-
const SemrushKeywordOverviewAllDatabasesOutput = zod.z.object({ keyword_data: zod.z.string().describe("Raw text response from the API with keyword overview data, typically CSV formatted.").nullable() });
|
|
178
|
+
const SemrushKeywordOverviewAllDatabasesOutput = zod.z.object({ keyword_data: zod.z.string().describe("Raw text response from the API with keyword overview data, typically CSV formatted.").nullable() }).passthrough();
|
|
179
179
|
const semrushKeywordOverviewAllDatabases = require_action.action("SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES", {
|
|
180
180
|
slug: "semrush-keyword-overview-all-databases",
|
|
181
181
|
name: "Keyword overview all databases",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword-overview-all-databases.cjs","names":["z","action"],"sources":["../../src/actions/keyword-overview-all-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewAllDatabasesInput = z.object({\n phrase: z.string().describe(\"Keyword or keyword phrase to investigate.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database to query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.\").optional(),\n export_decode: z.number().int().default(1).describe(\"Set to 1 for a URL-decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Dt\", \"Db\", \"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"In\", \"Kd\"])).default([\"Dt\",\"Db\",\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).\").optional(),\n});\nexport const SemrushKeywordOverviewAllDatabasesOutput = z.object({\n keyword_data: z.string().describe(\"Raw text response from the API with keyword overview data, typically CSV formatted.\").nullable(),\n});\n\nexport const semrushKeywordOverviewAllDatabases = action(\"SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES\", {\n slug: \"semrush-keyword-overview-all-databases\",\n name: \"Keyword overview all databases\",\n description: \"Fetches a keyword overview from Semrush for a specified phrase, including metrics like search volume, CPC, and competition. Response is returned as a CSV-like string; parse headers and rows into a structured table before extracting values like Nq, Cp, or Kd.\",\n input: SemrushKeywordOverviewAllDatabasesInput,\n output: SemrushKeywordOverviewAllDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAa;EAAU;EAAU;EAAU;EAAU;EAAU;EAAU;EAAU;EAAiB;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC5pC,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrJ,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,uPAAuP,CAAC,CAAC,SAAS;AAC7Z,CAAC;AACD,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EACpI,CAAC;
|
|
1
|
+
{"version":3,"file":"keyword-overview-all-databases.cjs","names":["z","action"],"sources":["../../src/actions/keyword-overview-all-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewAllDatabasesInput = z.object({\n phrase: z.string().describe(\"Keyword or keyword phrase to investigate.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database to query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.\").optional(),\n export_decode: z.number().int().default(1).describe(\"Set to 1 for a URL-decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Dt\", \"Db\", \"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"In\", \"Kd\"])).default([\"Dt\",\"Db\",\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).\").optional(),\n});\nexport const SemrushKeywordOverviewAllDatabasesOutput = z.object({\n keyword_data: z.string().describe(\"Raw text response from the API with keyword overview data, typically CSV formatted.\").nullable(),\n}).passthrough();\n\nexport const semrushKeywordOverviewAllDatabases = action(\"SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES\", {\n slug: \"semrush-keyword-overview-all-databases\",\n name: \"Keyword overview all databases\",\n description: \"Fetches a keyword overview from Semrush for a specified phrase, including metrics like search volume, CPC, and competition. Response is returned as a CSV-like string; parse headers and rows into a structured table before extracting values like Nq, Cp, or Kd.\",\n input: SemrushKeywordOverviewAllDatabasesInput,\n output: SemrushKeywordOverviewAllDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EA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C;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,uPAAuP,CAAC,CAAC,SAAS;AAC7Z,CAAC;AACD,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
|
|
5
5
|
phrase: z.ZodString;
|
|
6
6
|
database: z.ZodOptional<z.ZodEnum<{
|
|
7
|
-
in: "in";
|
|
8
|
-
at: "at";
|
|
9
|
-
id: "id";
|
|
10
7
|
us: "us";
|
|
11
8
|
uk: "uk";
|
|
12
9
|
ca: "ca";
|
|
@@ -33,12 +30,14 @@ declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
|
|
|
33
30
|
sg: "sg";
|
|
34
31
|
tr: "tr";
|
|
35
32
|
jp: "jp";
|
|
33
|
+
in: "in";
|
|
36
34
|
hu: "hu";
|
|
37
35
|
af: "af";
|
|
38
36
|
al: "al";
|
|
39
37
|
dz: "dz";
|
|
40
38
|
ao: "ao";
|
|
41
39
|
am: "am";
|
|
40
|
+
at: "at";
|
|
42
41
|
az: "az";
|
|
43
42
|
bh: "bh";
|
|
44
43
|
bd: "bd";
|
|
@@ -73,6 +72,7 @@ declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
|
|
|
73
72
|
ht: "ht";
|
|
74
73
|
hn: "hn";
|
|
75
74
|
is: "is";
|
|
75
|
+
id: "id";
|
|
76
76
|
jm: "jm";
|
|
77
77
|
jo: "jo";
|
|
78
78
|
kz: "kz";
|
|
@@ -167,10 +167,10 @@ declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
|
|
|
167
167
|
}, z.core.$strip>;
|
|
168
168
|
declare const SemrushKeywordOverviewAllDatabasesOutput: z.ZodObject<{
|
|
169
169
|
keyword_data: z.ZodNullable<z.ZodString>;
|
|
170
|
-
}, z.core.$
|
|
170
|
+
}, z.core.$loose>;
|
|
171
171
|
declare const semrushKeywordOverviewAllDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
172
172
|
phrase: string;
|
|
173
|
-
database?: "
|
|
173
|
+
database?: "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "at" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "id" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa" | undefined;
|
|
174
174
|
export_decode?: number | undefined;
|
|
175
175
|
export_escape?: 0 | 1 | undefined;
|
|
176
176
|
export_columns?: ("Ph" | "Nq" | "Cp" | "Co" | "Nr" | "In" | "Kd" | "Dt" | "Db")[] | undefined;
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
|
|
5
5
|
phrase: z.ZodString;
|
|
6
6
|
database: z.ZodOptional<z.ZodEnum<{
|
|
7
|
-
in: "in";
|
|
8
|
-
at: "at";
|
|
9
|
-
id: "id";
|
|
10
7
|
us: "us";
|
|
11
8
|
uk: "uk";
|
|
12
9
|
ca: "ca";
|
|
@@ -33,12 +30,14 @@ declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
|
|
|
33
30
|
sg: "sg";
|
|
34
31
|
tr: "tr";
|
|
35
32
|
jp: "jp";
|
|
33
|
+
in: "in";
|
|
36
34
|
hu: "hu";
|
|
37
35
|
af: "af";
|
|
38
36
|
al: "al";
|
|
39
37
|
dz: "dz";
|
|
40
38
|
ao: "ao";
|
|
41
39
|
am: "am";
|
|
40
|
+
at: "at";
|
|
42
41
|
az: "az";
|
|
43
42
|
bh: "bh";
|
|
44
43
|
bd: "bd";
|
|
@@ -73,6 +72,7 @@ declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
|
|
|
73
72
|
ht: "ht";
|
|
74
73
|
hn: "hn";
|
|
75
74
|
is: "is";
|
|
75
|
+
id: "id";
|
|
76
76
|
jm: "jm";
|
|
77
77
|
jo: "jo";
|
|
78
78
|
kz: "kz";
|
|
@@ -167,10 +167,10 @@ declare const SemrushKeywordOverviewAllDatabasesInput: z.ZodObject<{
|
|
|
167
167
|
}, z.core.$strip>;
|
|
168
168
|
declare const SemrushKeywordOverviewAllDatabasesOutput: z.ZodObject<{
|
|
169
169
|
keyword_data: z.ZodNullable<z.ZodString>;
|
|
170
|
-
}, z.core.$
|
|
170
|
+
}, z.core.$loose>;
|
|
171
171
|
declare const semrushKeywordOverviewAllDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
172
172
|
phrase: string;
|
|
173
|
-
database?: "
|
|
173
|
+
database?: "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "at" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "id" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa" | undefined;
|
|
174
174
|
export_decode?: number | undefined;
|
|
175
175
|
export_escape?: 0 | 1 | undefined;
|
|
176
176
|
export_columns?: ("Ph" | "Nq" | "Cp" | "Co" | "Nr" | "In" | "Kd" | "Dt" | "Db")[] | undefined;
|
|
@@ -178,7 +178,7 @@ const semrushKeywordOverviewAllDatabases = action("SEMRUSH_KEYWORD_OVERVIEW_ALL_
|
|
|
178
178
|
"Kd"
|
|
179
179
|
]).describe("Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).").optional()
|
|
180
180
|
}),
|
|
181
|
-
output: z.object({ keyword_data: z.string().describe("Raw text response from the API with keyword overview data, typically CSV formatted.").nullable() })
|
|
181
|
+
output: z.object({ keyword_data: z.string().describe("Raw text response from the API with keyword overview data, typically CSV formatted.").nullable() }).passthrough()
|
|
182
182
|
});
|
|
183
183
|
//#endregion
|
|
184
184
|
export { semrushKeywordOverviewAllDatabases };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword-overview-all-databases.mjs","names":[],"sources":["../../src/actions/keyword-overview-all-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewAllDatabasesInput = z.object({\n phrase: z.string().describe(\"Keyword or keyword phrase to investigate.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database to query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.\").optional(),\n export_decode: z.number().int().default(1).describe(\"Set to 1 for a URL-decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Dt\", \"Db\", \"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"In\", \"Kd\"])).default([\"Dt\",\"Db\",\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).\").optional(),\n});\nexport const SemrushKeywordOverviewAllDatabasesOutput = z.object({\n keyword_data: z.string().describe(\"Raw text response from the API with keyword overview data, typically CSV formatted.\").nullable(),\n});\n\nexport const semrushKeywordOverviewAllDatabases = action(\"SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES\", {\n slug: \"semrush-keyword-overview-all-databases\",\n name: \"Keyword overview all databases\",\n description: \"Fetches a keyword overview from Semrush for a specified phrase, including metrics like search volume, CPC, and competition. Response is returned as a CSV-like string; parse headers and rows into a structured table before extracting values like Nq, Cp, or Kd.\",\n input: SemrushKeywordOverviewAllDatabasesInput,\n output: SemrushKeywordOverviewAllDatabasesOutput,\n});\n"],"mappings":";;AAeA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAiB;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EAC5pC,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACxH,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACrJ,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,uPAAuP,CAAC,CAAC,SAAS;CAC7Z,CASS;CACP,QATsD,EAAE,OAAO,EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,EACpI,
|
|
1
|
+
{"version":3,"file":"keyword-overview-all-databases.mjs","names":[],"sources":["../../src/actions/keyword-overview-all-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewAllDatabasesInput = z.object({\n phrase: z.string().describe(\"Keyword or keyword phrase to investigate.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database to query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.\").optional(),\n export_decode: z.number().int().default(1).describe(\"Set to 1 for a URL-decoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Dt\", \"Db\", \"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"In\", \"Kd\"])).default([\"Dt\",\"Db\",\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"In\",\"Kd\"]).describe(\"Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).\").optional(),\n});\nexport const SemrushKeywordOverviewAllDatabasesOutput = z.object({\n keyword_data: z.string().describe(\"Raw text response from the API with keyword overview data, typically CSV formatted.\").nullable(),\n}).passthrough();\n\nexport const semrushKeywordOverviewAllDatabases = action(\"SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASES\", {\n slug: \"semrush-keyword-overview-all-databases\",\n name: \"Keyword overview all databases\",\n description: \"Fetches a keyword overview from Semrush for a specified phrase, including metrics like search volume, CPC, and competition. Response is returned as a CSV-like string; parse headers and rows into a structured table before extracting values like Nq, Cp, or Kd.\",\n input: SemrushKeywordOverviewAllDatabasesInput,\n output: SemrushKeywordOverviewAllDatabasesOutput,\n});\n"],"mappings":";;AAeA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqD,EAAE,OAAO;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAA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AS,qFAAqF,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -174,7 +174,7 @@ const SemrushKeywordOverviewOneDatabaseInput = zod.z.object({
|
|
|
174
174
|
"Kd"
|
|
175
175
|
]).describe("A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).").optional()
|
|
176
176
|
});
|
|
177
|
-
const SemrushKeywordOverviewOneDatabaseOutput = zod.z.object({ keyword_data: zod.z.string().describe("The keyword overview data, typically returned in CSV string format.").nullable() });
|
|
177
|
+
const SemrushKeywordOverviewOneDatabaseOutput = zod.z.object({ keyword_data: zod.z.string().describe("The keyword overview data, typically returned in CSV string format.").nullable() }).passthrough();
|
|
178
178
|
const semrushKeywordOverviewOneDatabase = require_action.action("SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE", {
|
|
179
179
|
slug: "semrush-keyword-overview-one-database",
|
|
180
180
|
name: "Get keyword overview for one database",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword-overview-one-database.cjs","names":["z","action"],"sources":["../../src/actions/keyword-overview-one-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewOneDatabaseInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to investigate.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"A regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).\"),\n display_date: z.string().describe(\"Optional. Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 1 (default), the report’s columns will be wrapped in double quotation marks (\\\"). Set to 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).\").optional(),\n});\nexport const SemrushKeywordOverviewOneDatabaseOutput = z.object({\n keyword_data: z.string().describe(\"The keyword overview data, typically returned in CSV string format.\").nullable(),\n});\n\nexport const semrushKeywordOverviewOneDatabase = action(\"SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE\", {\n slug: \"semrush-keyword-overview-one-database\",\n name: \"Get keyword overview for one database\",\n description: \"Fetches a keyword summary for a specified phrase from a chosen regional database. Returns CSV-like text (not JSON) with column headers matching `export_columns` codes (e.g., 'Ph', 'Nq', 'Kd'); parse headers and rows into structured data before use. A plain-text 'ERROR 50 :: NOTHING FOUND' response indicates zero results, not a transport error.\",\n input: SemrushKeywordOverviewOneDatabaseInput,\n output: SemrushKeywordOverviewOneDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC3E,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM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AE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,2dAA2d,CAAC,CAAC,SAAS;AACtnB,CAAC;AACD,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EACpH,CAAC;
|
|
1
|
+
{"version":3,"file":"keyword-overview-one-database.cjs","names":["z","action"],"sources":["../../src/actions/keyword-overview-one-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewOneDatabaseInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to investigate.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"A regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).\"),\n display_date: z.string().describe(\"Optional. Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 1 (default), the report’s columns will be wrapped in double quotation marks (\\\"). Set to 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).\").optional(),\n});\nexport const SemrushKeywordOverviewOneDatabaseOutput = z.object({\n keyword_data: z.string().describe(\"The keyword overview data, typically returned in CSV string format.\").nullable(),\n}).passthrough();\n\nexport const semrushKeywordOverviewOneDatabase = action(\"SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE\", {\n slug: \"semrush-keyword-overview-one-database\",\n name: \"Get keyword overview for one database\",\n description: \"Fetches a keyword summary for a specified phrase from a chosen regional database. Returns CSV-like text (not JSON) with column headers matching `export_columns` codes (e.g., 'Ph', 'Nq', 'Kd'); parse headers and rows into structured data before use. A plain-text 'ERROR 50 :: NOTHING FOUND' response indicates zero results, not a transport error.\",\n input: SemrushKeywordOverviewOneDatabaseInput,\n output: SemrushKeywordOverviewOneDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC3E,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;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CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
|
|
5
5
|
phrase: z.ZodString;
|
|
6
6
|
database: z.ZodEnum<{
|
|
7
|
-
in: "in";
|
|
8
|
-
at: "at";
|
|
9
|
-
id: "id";
|
|
10
7
|
us: "us";
|
|
11
8
|
uk: "uk";
|
|
12
9
|
ca: "ca";
|
|
@@ -33,12 +30,14 @@ declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
|
|
|
33
30
|
sg: "sg";
|
|
34
31
|
tr: "tr";
|
|
35
32
|
jp: "jp";
|
|
33
|
+
in: "in";
|
|
36
34
|
hu: "hu";
|
|
37
35
|
af: "af";
|
|
38
36
|
al: "al";
|
|
39
37
|
dz: "dz";
|
|
40
38
|
ao: "ao";
|
|
41
39
|
am: "am";
|
|
40
|
+
at: "at";
|
|
42
41
|
az: "az";
|
|
43
42
|
bh: "bh";
|
|
44
43
|
bd: "bd";
|
|
@@ -73,6 +72,7 @@ declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
|
|
|
73
72
|
ht: "ht";
|
|
74
73
|
hn: "hn";
|
|
75
74
|
is: "is";
|
|
75
|
+
id: "id";
|
|
76
76
|
jm: "jm";
|
|
77
77
|
jo: "jo";
|
|
78
78
|
kz: "kz";
|
|
@@ -167,10 +167,10 @@ declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
|
|
|
167
167
|
}, z.core.$strip>;
|
|
168
168
|
declare const SemrushKeywordOverviewOneDatabaseOutput: z.ZodObject<{
|
|
169
169
|
keyword_data: z.ZodNullable<z.ZodString>;
|
|
170
|
-
}, z.core.$
|
|
170
|
+
}, z.core.$loose>;
|
|
171
171
|
declare const semrushKeywordOverviewOneDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
172
172
|
phrase: string;
|
|
173
|
-
database: "
|
|
173
|
+
database: "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "at" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "id" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
174
174
|
display_date?: string | undefined;
|
|
175
175
|
export_decode?: 0 | 1 | undefined;
|
|
176
176
|
export_escape?: 0 | 1 | undefined;
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
|
|
5
5
|
phrase: z.ZodString;
|
|
6
6
|
database: z.ZodEnum<{
|
|
7
|
-
in: "in";
|
|
8
|
-
at: "at";
|
|
9
|
-
id: "id";
|
|
10
7
|
us: "us";
|
|
11
8
|
uk: "uk";
|
|
12
9
|
ca: "ca";
|
|
@@ -33,12 +30,14 @@ declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
|
|
|
33
30
|
sg: "sg";
|
|
34
31
|
tr: "tr";
|
|
35
32
|
jp: "jp";
|
|
33
|
+
in: "in";
|
|
36
34
|
hu: "hu";
|
|
37
35
|
af: "af";
|
|
38
36
|
al: "al";
|
|
39
37
|
dz: "dz";
|
|
40
38
|
ao: "ao";
|
|
41
39
|
am: "am";
|
|
40
|
+
at: "at";
|
|
42
41
|
az: "az";
|
|
43
42
|
bh: "bh";
|
|
44
43
|
bd: "bd";
|
|
@@ -73,6 +72,7 @@ declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
|
|
|
73
72
|
ht: "ht";
|
|
74
73
|
hn: "hn";
|
|
75
74
|
is: "is";
|
|
75
|
+
id: "id";
|
|
76
76
|
jm: "jm";
|
|
77
77
|
jo: "jo";
|
|
78
78
|
kz: "kz";
|
|
@@ -167,10 +167,10 @@ declare const SemrushKeywordOverviewOneDatabaseInput: z.ZodObject<{
|
|
|
167
167
|
}, z.core.$strip>;
|
|
168
168
|
declare const SemrushKeywordOverviewOneDatabaseOutput: z.ZodObject<{
|
|
169
169
|
keyword_data: z.ZodNullable<z.ZodString>;
|
|
170
|
-
}, z.core.$
|
|
170
|
+
}, z.core.$loose>;
|
|
171
171
|
declare const semrushKeywordOverviewOneDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
172
172
|
phrase: string;
|
|
173
|
-
database: "
|
|
173
|
+
database: "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "at" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "id" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
174
174
|
display_date?: string | undefined;
|
|
175
175
|
export_decode?: 0 | 1 | undefined;
|
|
176
176
|
export_escape?: 0 | 1 | undefined;
|
|
@@ -177,7 +177,7 @@ const semrushKeywordOverviewOneDatabase = action("SEMRUSH_KEYWORD_OVERVIEW_ONE_D
|
|
|
177
177
|
"Kd"
|
|
178
178
|
]).describe("A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).").optional()
|
|
179
179
|
}),
|
|
180
|
-
output: z.object({ keyword_data: z.string().describe("The keyword overview data, typically returned in CSV string format.").nullable() })
|
|
180
|
+
output: z.object({ keyword_data: z.string().describe("The keyword overview data, typically returned in CSV string format.").nullable() }).passthrough()
|
|
181
181
|
});
|
|
182
182
|
//#endregion
|
|
183
183
|
export { semrushKeywordOverviewOneDatabase };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword-overview-one-database.mjs","names":[],"sources":["../../src/actions/keyword-overview-one-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewOneDatabaseInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to investigate.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"A regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).\"),\n display_date: z.string().describe(\"Optional. Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 1 (default), the report’s columns will be wrapped in double quotation marks (\\\"). Set to 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).\").optional(),\n});\nexport const SemrushKeywordOverviewOneDatabaseOutput = z.object({\n keyword_data: z.string().describe(\"The keyword overview data, typically returned in CSV string format.\").nullable(),\n});\n\nexport const semrushKeywordOverviewOneDatabase = action(\"SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE\", {\n slug: \"semrush-keyword-overview-one-database\",\n name: \"Get keyword overview for one database\",\n description: \"Fetches a keyword summary for a specified phrase from a chosen regional database. Returns CSV-like text (not JSON) with column headers matching `export_columns` codes (e.g., 'Ph', 'Nq', 'Kd'); parse headers and rows into structured data before use. A plain-text 'ERROR 50 :: NOTHING FOUND' response indicates zero results, not a transport error.\",\n input: SemrushKeywordOverviewOneDatabaseInput,\n output: SemrushKeywordOverviewOneDatabaseOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC3E,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAa;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAU;GAAiB;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,SAAS,0OAA0O;EAChxC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;EAC9N,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC1M,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACtM,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,2dAA2d,CAAC,CAAC,SAAS;CACtnB,CASS;CACP,QATqD,EAAE,OAAO,EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EACpH,
|
|
1
|
+
{"version":3,"file":"keyword-overview-one-database.mjs","names":[],"sources":["../../src/actions/keyword-overview-one-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordOverviewOneDatabaseInput = z.object({\n phrase: z.string().describe(\"The keyword or keyword phrase to investigate.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"A regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).\"),\n display_date: z.string().describe(\"Optional. Date in \\\"YYYYMM15\\\" format (e.g., \\\"20231215\\\" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"If set to 1 (default), the report’s columns will be wrapped in double quotation marks (\\\"). Set to 0 to disable.\").optional(),\n export_columns: z.array(z.enum([\"Ph\", \"Nq\", \"Cp\", \"Co\", \"Nr\", \"Td\", \"In\", \"Kd\"])).default([\"Ph\",\"Nq\",\"Cp\",\"Co\",\"Nr\",\"Td\",\"In\",\"Kd\"]).describe(\"A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).\").optional(),\n});\nexport const SemrushKeywordOverviewOneDatabaseOutput = z.object({\n keyword_data: z.string().describe(\"The keyword overview data, typically returned in CSV string format.\").nullable(),\n}).passthrough();\n\nexport const semrushKeywordOverviewOneDatabase = action(\"SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASE\", {\n slug: \"semrush-keyword-overview-one-database\",\n name: \"Get keyword overview for one database\",\n description: \"Fetches a keyword summary for a specified phrase from a chosen regional database. Returns CSV-like text (not JSON) with column headers matching `export_columns` codes (e.g., 'Ph', 'Nq', 'Kd'); parse headers and rows into structured data before use. A plain-text 'ERROR 50 :: NOTHING FOUND' response indicates zero results, not a transport error.\",\n input: SemrushKeywordOverviewOneDatabaseInput,\n output: SemrushKeywordOverviewOneDatabaseOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC3E,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM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Q,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACtM,gBAAgB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;GAAM;EAAI,CAAC,CAAC,CAAC,CAAC,QAAQ;GAAC;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;GAAK;EAAI,CAAC,CAAC,CAAC,SAAS,2dAA2d,CAAC,CAAC,SAAS;CACtnB,CASS;CACP,QATqD,EAAE,OAAO,EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -180,7 +180,7 @@ const SemrushKeywordsAdsHistoryInput = zod.z.object({
|
|
|
180
180
|
"Ad"
|
|
181
181
|
]).describe("Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.").optional()
|
|
182
182
|
});
|
|
183
|
-
const SemrushKeywordsAdsHistoryOutput = zod.z.object({ data: zod.z.string().describe("Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.").nullable() }).describe("Contains the raw keyword ads history report data.");
|
|
183
|
+
const SemrushKeywordsAdsHistoryOutput = zod.z.object({ data: zod.z.string().describe("Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.").nullable() }).passthrough().describe("Contains the raw keyword ads history report data.");
|
|
184
184
|
const semrushKeywordsAdsHistory = require_action.action("SEMRUSH_KEYWORDS_ADS_HISTORY", {
|
|
185
185
|
slug: "semrush-keywords-ads-history",
|
|
186
186
|
name: "Get keywords ads history",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keywords-ads-history.cjs","names":["z","action"],"sources":["../../src/actions/keywords-ads-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordsAdsHistoryInput = z.object({\n phrase: z.string().describe(\"Keyword or phrase for historical advertising data analysis.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database to query.\"),\n display_date: z.string().describe(\"Specifies a past month for data retrieval, formatted as 'YYYYMM15'. If omitted, returns most recent period's data.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results (lines) to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 for a non-URL-encoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Dn\", \"Dt\", \"Po\", \"Ur\", \"Tt\", \"Ds\", \"Vu\", \"At\", \"Ac\", \"Ad\"]).describe(\"Available columns for Keywords Ads History. Codes: Dn (Domain name), Dt (Domain type), Po (Ad position), Ur (Landing page URL), Tt (Ad title), Ds (Ad text), Vu (Visible URL), At (Ad type), Ac (Number of ads for domain/keyword/date), Ad (Ad features).\")).default([\"Dn\",\"Dt\",\"Po\",\"Ur\",\"Tt\",\"Ds\",\"Vu\",\"At\",\"Ac\",\"Ad\"]).describe(\"Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.\").optional(),\n});\nexport const SemrushKeywordsAdsHistoryOutput = z.object({\n data: z.string().describe(\"Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.\").nullable(),\n}).describe(\"Contains the raw keyword ads history report data.\");\n\nexport const semrushKeywordsAdsHistory = action(\"SEMRUSH_KEYWORDS_ADS_HISTORY\", {\n slug: \"semrush-keywords-ads-history\",\n name: \"Get keywords ads history\",\n description: \"Fetches a historical report (last 12 months) of domains advertising on a specified keyword in Google Ads, optionally for a specific month ('YYYYMM15') or the most recent period, returning raw CSV-like data.\",\n input: SemrushKeywordsAdsHistoryInput,\n output: SemrushKeywordsAdsHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACzF,UAAUA,IAAAA,EAAE,KAAK;E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CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjJ,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAC5iB,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"keywords-ads-history.cjs","names":["z","action"],"sources":["../../src/actions/keywords-ads-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SemrushKeywordsAdsHistoryInput = z.object({\n phrase: z.string().describe(\"Keyword or phrase for historical advertising data analysis.\"),\n database: z.enum([\"us\", \"uk\", \"ca\", \"ru\", \"de\", \"fr\", \"es\", \"it\", \"br\", \"au\", \"ar\", \"be\", \"ch\", \"dk\", \"fi\", \"hk\", \"ie\", \"il\", \"mx\", \"nl\", \"no\", \"pl\", \"se\", \"sg\", \"tr\", \"jp\", \"in\", \"hu\", \"af\", \"al\", \"dz\", \"ao\", \"am\", \"at\", \"az\", \"bh\", \"bd\", \"by\", \"bz\", \"bo\", \"ba\", \"bw\", \"bn\", \"bg\", \"cv\", \"kh\", \"cm\", \"cl\", \"co\", \"cr\", \"hr\", \"cy\", \"cz\", \"cd\", \"do\", \"ec\", \"eg\", \"sv\", \"ee\", \"et\", \"ge\", \"gh\", \"gr\", \"gt\", \"gy\", \"ht\", \"hn\", \"is\", \"id\", \"jm\", \"jo\", \"kz\", \"kw\", \"lv\", \"lb\", \"lt\", \"lu\", \"mg\", \"my\", \"mt\", \"mu\", \"md\", \"mn\", \"me\", \"ma\", \"mz\", \"na\", \"np\", \"nz\", \"ni\", \"ng\", \"om\", \"py\", \"pe\", \"ph\", \"pt\", \"ro\", \"sa\", \"sn\", \"rs\", \"sk\", \"si\", \"za\", \"kr\", \"lk\", \"th\", \"bs\", \"tt\", \"tn\", \"ua\", \"ae\", \"uy\", \"ve\", \"vn\", \"zm\", \"zw\", \"ly\", \"mobile-us\", \"mobile-uk\", \"mobile-ca\", \"mobile-de\", \"mobile-fr\", \"mobile-es\", \"mobile-it\", \"mobile-br\", \"mobile-au\", \"mobile-dk\", \"mobile-mx\", \"mobile-nl\", \"mobile-se\", \"mobile-tr\", \"mobile-in\", \"mobile-id\", \"mobile-il\", \"il-ext\", \"tr-ext\", \"dk-ext\", \"no-ext\", \"se-ext\", \"fi-ext\", \"ch-ext\", \"mobile-il-ext\", \"pa\", \"pk\", \"tw\", \"qa\"]).describe(\"Regional database to query.\"),\n display_date: z.string().describe(\"Specifies a past month for data retrieval, formatted as 'YYYYMM15'. If omitted, returns most recent period's data.\").optional(),\n display_limit: z.number().int().default(10000).describe(\"Maximum number of results (lines) to return.\").optional(),\n export_decode: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 for a non-URL-encoded response, 0 for URL-encoded.\").optional(),\n export_escape: z.union([z.literal(0), z.literal(1)]).default(1).describe(\"Set to 1 to wrap output columns in double quotes, 0 to disable.\").optional(),\n display_offset: z.number().int().default(0).describe(\"Number of results to skip for pagination.\").optional(),\n export_columns: z.array(z.enum([\"Dn\", \"Dt\", \"Po\", \"Ur\", \"Tt\", \"Ds\", \"Vu\", \"At\", \"Ac\", \"Ad\"]).describe(\"Available columns for Keywords Ads History. Codes: Dn (Domain name), Dt (Domain type), Po (Ad position), Ur (Landing page URL), Tt (Ad title), Ds (Ad text), Vu (Visible URL), At (Ad type), Ac (Number of ads for domain/keyword/date), Ad (Ad features).\")).default([\"Dn\",\"Dt\",\"Po\",\"Ur\",\"Tt\",\"Ds\",\"Vu\",\"At\",\"Ac\",\"Ad\"]).describe(\"Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.\").optional(),\n});\nexport const SemrushKeywordsAdsHistoryOutput = z.object({\n data: z.string().describe(\"Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.\").nullable(),\n}).passthrough().describe(\"Contains the raw keyword ads history report data.\");\n\nexport const semrushKeywordsAdsHistory = action(\"SEMRUSH_KEYWORDS_ADS_HISTORY\", {\n slug: \"semrush-keywords-ads-history\",\n name: \"Get keywords ads history\",\n description: \"Fetches a historical report (last 12 months) of domains advertising on a specified keyword in Google Ads, optionally for a specific month ('YYYYMM15') or the most recent period, returning raw CSV-like data.\",\n input: SemrushKeywordsAdsHistoryInput,\n output: SemrushKeywordsAdsHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACzF,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAA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CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,CAAC,QAAQ;EAAC;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAC5iB,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,9 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SemrushKeywordsAdsHistoryInput: z.ZodObject<{
|
|
5
5
|
phrase: z.ZodString;
|
|
6
6
|
database: z.ZodEnum<{
|
|
7
|
-
in: "in";
|
|
8
|
-
at: "at";
|
|
9
|
-
id: "id";
|
|
10
7
|
us: "us";
|
|
11
8
|
uk: "uk";
|
|
12
9
|
ca: "ca";
|
|
@@ -33,12 +30,14 @@ declare const SemrushKeywordsAdsHistoryInput: z.ZodObject<{
|
|
|
33
30
|
sg: "sg";
|
|
34
31
|
tr: "tr";
|
|
35
32
|
jp: "jp";
|
|
33
|
+
in: "in";
|
|
36
34
|
hu: "hu";
|
|
37
35
|
af: "af";
|
|
38
36
|
al: "al";
|
|
39
37
|
dz: "dz";
|
|
40
38
|
ao: "ao";
|
|
41
39
|
am: "am";
|
|
40
|
+
at: "at";
|
|
42
41
|
az: "az";
|
|
43
42
|
bh: "bh";
|
|
44
43
|
bd: "bd";
|
|
@@ -73,6 +72,7 @@ declare const SemrushKeywordsAdsHistoryInput: z.ZodObject<{
|
|
|
73
72
|
ht: "ht";
|
|
74
73
|
hn: "hn";
|
|
75
74
|
is: "is";
|
|
75
|
+
id: "id";
|
|
76
76
|
jm: "jm";
|
|
77
77
|
jo: "jo";
|
|
78
78
|
kz: "kz";
|
|
@@ -165,22 +165,22 @@ declare const SemrushKeywordsAdsHistoryInput: z.ZodObject<{
|
|
|
165
165
|
Ad: "Ad";
|
|
166
166
|
At: "At";
|
|
167
167
|
Ac: "Ac";
|
|
168
|
-
Dt: "Dt";
|
|
169
168
|
Po: "Po";
|
|
169
|
+
Dt: "Dt";
|
|
170
170
|
}>>>>;
|
|
171
171
|
}, z.core.$strip>;
|
|
172
172
|
declare const SemrushKeywordsAdsHistoryOutput: z.ZodObject<{
|
|
173
173
|
data: z.ZodNullable<z.ZodString>;
|
|
174
|
-
}, z.core.$
|
|
174
|
+
}, z.core.$loose>;
|
|
175
175
|
declare const semrushKeywordsAdsHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
176
176
|
phrase: string;
|
|
177
|
-
database: "
|
|
177
|
+
database: "us" | "uk" | "ca" | "ru" | "de" | "fr" | "es" | "it" | "br" | "au" | "ar" | "be" | "ch" | "dk" | "fi" | "hk" | "ie" | "il" | "mx" | "nl" | "no" | "pl" | "se" | "sg" | "tr" | "jp" | "in" | "hu" | "af" | "al" | "dz" | "ao" | "am" | "at" | "az" | "bh" | "bd" | "by" | "bz" | "bo" | "ba" | "bw" | "bn" | "bg" | "cv" | "kh" | "cm" | "cl" | "co" | "cr" | "hr" | "cy" | "cz" | "cd" | "do" | "ec" | "eg" | "sv" | "ee" | "et" | "ge" | "gh" | "gr" | "gt" | "gy" | "ht" | "hn" | "is" | "id" | "jm" | "jo" | "kz" | "kw" | "lv" | "lb" | "lt" | "lu" | "mg" | "my" | "mt" | "mu" | "md" | "mn" | "me" | "ma" | "mz" | "na" | "np" | "nz" | "ni" | "ng" | "om" | "py" | "pe" | "ph" | "pt" | "ro" | "sa" | "sn" | "rs" | "sk" | "si" | "za" | "kr" | "lk" | "th" | "bs" | "tt" | "tn" | "ua" | "ae" | "uy" | "ve" | "vn" | "zm" | "zw" | "ly" | "mobile-us" | "mobile-uk" | "mobile-ca" | "mobile-de" | "mobile-fr" | "mobile-es" | "mobile-it" | "mobile-br" | "mobile-au" | "mobile-dk" | "mobile-mx" | "mobile-nl" | "mobile-se" | "mobile-tr" | "mobile-in" | "mobile-id" | "mobile-il" | "il-ext" | "tr-ext" | "dk-ext" | "no-ext" | "se-ext" | "fi-ext" | "ch-ext" | "mobile-il-ext" | "pa" | "pk" | "tw" | "qa";
|
|
178
178
|
display_date?: string | undefined;
|
|
179
179
|
display_limit?: number | undefined;
|
|
180
180
|
export_decode?: 0 | 1 | undefined;
|
|
181
181
|
export_escape?: 0 | 1 | undefined;
|
|
182
182
|
display_offset?: number | undefined;
|
|
183
|
-
export_columns?: ("Tt" | "Ds" | "Vu" | "Ur" | "Dn" | "Ad" | "At" | "Ac" | "
|
|
183
|
+
export_columns?: ("Tt" | "Ds" | "Vu" | "Ur" | "Dn" | "Ad" | "At" | "Ac" | "Po" | "Dt")[] | undefined;
|
|
184
184
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
185
185
|
//#endregion
|
|
186
186
|
export { semrushKeywordsAdsHistory };
|