UNPKG

@apihawk/help-center-sdk

Version:

The ApiHawk Help Center SDK

104 lines (103 loc) 2.52 kB
export interface IHelpCenterArticle { id: number | string; parent_id: number | string; published: number | string; type: string; title: string; data: string; data_html: string; description: string; keywords: string; tags: string; lang_id: number | string; seo_url: string; primary_category: number | string; featured: number | string; table_of_contents: number | string; created_at: string; updated_at: string; trash: string; meta_description: string; _links: any; breadcrumb?: string; } export interface IHelpCenterCategory { id: number | string; parent_id: number | string; published: number | string; title: string; description: string; lang_id: number | string; seo_url: string; icon_class: string | null; weight: number | string; fetch_subarticles: number | string; created_at: string; updated_at: string; trash: string; meta_description: string; _links: any; children?: any; } export interface IHelpCenterTag { id: number; parent_id: number | string; type: string; multivalued: number; name: string; title: string; description: string; options: string; lang_id: number; created_at: string; updated_at: string; trash: number; _links: any; _language: any; } export interface IContent2Category { id: number | string; content_id: number | string; category_id: number | string; weight: number | string; _links: any; } export interface ICategoryBreadcrumbResult { breadcrumb: IHelpCenterCategory[]; } export interface IHelpCenterArticlesByTagsCintentEntity { id: number; title: string; description: string; tags: IHelpCenterArticlesByTagsTagEntity[]; seo_url: string; fill_seo_urls: string[]; } export interface IHelpCenterArticlesByTagsTagEntity { name: string; title: string; } export interface IHelpCenterArticlesByTags { content: IHelpCenterArticlesByTagsCintentEntity[]; pagination: { page_count: number; page_size: number; total_items: number; current_page: number; _links: any; }; } export interface IHelpCenterSEOSearchResult { result: { seo_url: string; entity_type: string; entity_id: string; active: string; content?: { entity: IHelpCenterArticle; }; category?: { entity: IHelpCenterCategory; }; }; }