more impeorventes for kewyrods libreary
This commit is contained in:
@@ -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)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user