@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
31 lines (30 loc) • 3.79 kB
TypeScript
import { BaseAPIRequestFactory } from './baseapi';
import { Configuration } from '../configuration';
import { RequestContext, ResponseContext, HttpInfo } from '../http/http';
import { CollectionResponseWithTotalPageVersion } from '../models/CollectionResponseWithTotalPageVersion';
import { Page } from '../models/Page';
import { PageVersion } from '../models/PageVersion';
export declare class BasicApiRequestFactory extends BaseAPIRequestFactory {
cmsPagesV3LandingPagesCursor(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>;
cmsPagesV3LandingPagesCursorQuery(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>;
cmsPagesV3LandingPagesFoldersCursor(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>;
cmsPagesV3LandingPagesFoldersCursorQuery(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>;
cmsPagesV3SitePagesCursor(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>;
cmsPagesV3SitePagesCursorQuery(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>;
getPreviousVersion(objectId: string, revisionId: string, _options?: Configuration): Promise<RequestContext>;
getPreviousVersions(objectId: string, after?: string, before?: string, limit?: number, _options?: Configuration): Promise<RequestContext>;
resetDraft(objectId: string, _options?: Configuration): Promise<RequestContext>;
restorePreviousVersionToDraft(objectId: string, revisionId: number, _options?: Configuration): Promise<RequestContext>;
}
export declare class BasicApiResponseProcessor {
cmsPagesV3LandingPagesCursorWithHttpInfo(response: ResponseContext): Promise<HttpInfo<any>>;
cmsPagesV3LandingPagesCursorQueryWithHttpInfo(response: ResponseContext): Promise<HttpInfo<any>>;
cmsPagesV3LandingPagesFoldersCursorWithHttpInfo(response: ResponseContext): Promise<HttpInfo<any>>;
cmsPagesV3LandingPagesFoldersCursorQueryWithHttpInfo(response: ResponseContext): Promise<HttpInfo<any>>;
cmsPagesV3SitePagesCursorWithHttpInfo(response: ResponseContext): Promise<HttpInfo<any>>;
cmsPagesV3SitePagesCursorQueryWithHttpInfo(response: ResponseContext): Promise<HttpInfo<any>>;
getPreviousVersionWithHttpInfo(response: ResponseContext): Promise<HttpInfo<PageVersion>>;
getPreviousVersionsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponseWithTotalPageVersion>>;
resetDraftWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
restorePreviousVersionToDraftWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Page>>;
}