@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
16 lines (15 loc) • 746 B
TypeScript
interface IAPIType<CollectionType, ConfigurationType> {
getPage(limit?: number, after?: string, properties?: string[], propertiesWithHistory?: string[], associations?: string[], archived?: boolean, _options?: ConfigurationType): Promise<CollectionType>;
}
interface INextPage {
after: string;
}
interface IForwardPaging {
next?: INextPage;
}
interface ICollectionType<ObjectType> {
results: ObjectType[];
paging?: IForwardPaging;
}
export declare function getAll<ReturnType, ConfigurationType>(api: IAPIType<ICollectionType<ReturnType>, ConfigurationType>, limit?: number, after?: string, properties?: string[], propertiesWithHistory?: string[], associations?: string[], archived?: boolean): Promise<ReturnType[]>;
export {};