UNPKG

@hubspot/api-client

Version:

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

22 lines (21 loc) 1.65 kB
import { BaseAPIRequestFactory } from './baseapi'; import { Configuration } from '../configuration'; import { RequestContext, ResponseContext, HttpInfo } from '../http/http'; import { CollectionResponsePropertyGroupNoPaging } from '../models/CollectionResponsePropertyGroupNoPaging'; import { PropertyGroup } from '../models/PropertyGroup'; import { PropertyGroupCreate } from '../models/PropertyGroupCreate'; import { PropertyGroupUpdate } from '../models/PropertyGroupUpdate'; export declare class BasicApiRequestFactory extends BaseAPIRequestFactory { archive(objectType: string, groupName: string, _options?: Configuration): Promise<RequestContext>; create(objectType: string, propertyGroupCreate: PropertyGroupCreate, _options?: Configuration): Promise<RequestContext>; getAll(objectType: string, locale?: string, _options?: Configuration): Promise<RequestContext>; getByName(objectType: string, groupName: string, locale?: string, _options?: Configuration): Promise<RequestContext>; update(objectType: string, groupName: string, propertyGroupUpdate: PropertyGroupUpdate, _options?: Configuration): Promise<RequestContext>; } export declare class BasicApiResponseProcessor { archiveWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; createWithHttpInfo(response: ResponseContext): Promise<HttpInfo<PropertyGroup>>; getAllWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponsePropertyGroupNoPaging>>; getByNameWithHttpInfo(response: ResponseContext): Promise<HttpInfo<PropertyGroup>>; updateWithHttpInfo(response: ResponseContext): Promise<HttpInfo<PropertyGroup>>; }