UNPKG

@hubspot/api-client

Version:

NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files

20 lines (19 loc) 1.65 kB
import { BaseAPIRequestFactory } from './baseapi'; import { Configuration } from '../configuration'; import { RequestContext, ResponseContext, HttpInfo } from '../http/http'; import { BlogAuthor } from '../models/BlogAuthor'; import { CollectionResponseWithTotalBlogAuthorForwardPaging } from '../models/CollectionResponseWithTotalBlogAuthorForwardPaging'; export declare class BasicApiRequestFactory extends BaseAPIRequestFactory { archive(objectId: string, archived?: boolean, _options?: Configuration): Promise<RequestContext>; create(blogAuthor: BlogAuthor, _options?: Configuration): Promise<RequestContext>; getById(objectId: string, archived?: boolean, property?: string, _options?: Configuration): Promise<RequestContext>; getPage(after?: string, archived?: boolean, createdAfter?: Date, createdAt?: Date, createdBefore?: Date, limit?: number, property?: string, sort?: Array<string>, updatedAfter?: Date, updatedAt?: Date, updatedBefore?: Date, _options?: Configuration): Promise<RequestContext>; update(objectId: string, blogAuthor: BlogAuthor, archived?: boolean, _options?: Configuration): Promise<RequestContext>; } export declare class BasicApiResponseProcessor { archiveWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; createWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BlogAuthor>>; getByIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BlogAuthor>>; getPageWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponseWithTotalBlogAuthorForwardPaging>>; updateWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BlogAuthor>>; }