UNPKG

@hubspot/api-client

Version:

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

30 lines (29 loc) 1.52 kB
import { HttpInfo } from '../http/http'; import { Configuration, ConfigurationOptions } from '../configuration'; import { CollectionResponseExternalUnifiedEvent } from '../models/CollectionResponseExternalUnifiedEvent'; import { VisibleExternalEventTypeNames } from '../models/VisibleExternalEventTypeNames'; import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi"; export interface EventsApiGetPageRequest { objectType?: string; eventType?: string; after?: string; before?: string; limit?: number; sort?: Array<string>; occurredAfter?: Date; occurredBefore?: Date; objectId?: number; objectPropertyPropname?: any; propertyPropname?: any; id?: Array<string>; } export interface EventsApiGetTypesRequest { } export declare class ObjectEventsApi { private api; constructor(configuration: Configuration, requestFactory?: EventsApiRequestFactory, responseProcessor?: EventsApiResponseProcessor); getPageWithHttpInfo(param?: EventsApiGetPageRequest, options?: ConfigurationOptions): Promise<HttpInfo<CollectionResponseExternalUnifiedEvent>>; getPage(param?: EventsApiGetPageRequest, options?: ConfigurationOptions): Promise<CollectionResponseExternalUnifiedEvent>; getTypesWithHttpInfo(param?: EventsApiGetTypesRequest, options?: ConfigurationOptions): Promise<HttpInfo<VisibleExternalEventTypeNames>>; getTypes(param?: EventsApiGetTypesRequest, options?: ConfigurationOptions): Promise<VisibleExternalEventTypeNames>; }