more impeorventes for kewyrods libreary

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-14 18:55:08 +00:00
parent d2fc5b1a6b
commit cb2d109593
5 changed files with 291 additions and 6 deletions

View File

@@ -2105,6 +2105,34 @@ export async function fetchSeedKeywords(filters?: {
return fetchAPI(`/v1/auth/seed-keywords/${queryString ? `?${queryString}` : ''}`);
}
/**
* Fetch Seed Keyword Statistics
*/
export interface KeywordStatsIndustry {
name: string;
slug: string;
keyword_count: number;
total_volume: number;
}
export interface KeywordStatsCountry {
country: string;
country_display: string;
keyword_count: number;
total_volume: number;
}
export interface KeywordStats {
industries: KeywordStatsIndustry[];
countries: KeywordStatsCountry[];
total_keywords: number;
total_volume: number;
}
export async function fetchKeywordStats(): Promise<KeywordStats> {
return fetchAPI('/v1/auth/seed-keywords/stats/');
}
/**
* Add SeedKeywords to workflow (create Keywords records)
*/