import { AxiosInstance, AxiosRequestConfig } from 'axios'; import * as Models from './models/blogs'; /** * Blogs Service * Documentation for Blog public API */ export declare class Blogs { private client; constructor(httpClient: AxiosInstance); /** * Check url slug * The "Check url slug" API allows check the blog slug validation which is needed before publishing any blog post. Please use blogs/check-slug.readonly. you can find the POST ID from the post edit url. */ checkUrlSlugExists(params: { urlSlug: string; locationId: string; postId?: string; }, options?: AxiosRequestConfig): Promise; /** * Update Blog Post * The "Update Blog Post" API allows you update blog post for any given blog site. Please use blogs/post-update.write */ updateBlogPost(params: { postId: string; }, requestBody: Models.UpdateBlogPostParams, options?: AxiosRequestConfig): Promise; /** * Create Blog Post * The "Create Blog Post" API allows you create blog post for any given blog site. Please use blogs/post.write */ createBlogPost(requestBody: Models.CreateBlogPostParams, options?: AxiosRequestConfig): Promise; /** * Get all authors * The "Get all authors" Api return the blog authors for a given location ID. Please use "blogs/author.readonly" */ getAllBlogAuthorsByLocation(params: { locationId: string; limit: number; offset: number; }, options?: AxiosRequestConfig): Promise; /** * Get all categories * The "Get all categories" Api return the blog categoies for a given location ID. Please use "blogs/category.readonly" */ getAllCategoriesByLocation(params: { locationId: string; limit: number; offset: number; }, options?: AxiosRequestConfig): Promise; /** * Get Blog posts by Blog ID * The "Get Blog posts by Blog ID" API allows you get blog posts for any given blog site using blog ID.Please use blogs/posts.readonly */ getBlogPost(params: { locationId: string; blogId: string; limit: number; offset: number; searchTerm?: string; status?: string; }, options?: AxiosRequestConfig): Promise; /** * Get Blogs by Location ID * The "Get Blogs by Location ID" API allows you get blogs using Location ID.Please use blogs/list.readonly */ getBlogs(params: { locationId: string; skip: number; limit: number; searchTerm?: string; }, options?: AxiosRequestConfig): Promise; } export default Blogs; //# sourceMappingURL=blogs.d.ts.map