UNPKG

@hubspot/api-client

Version:

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

19 lines (18 loc) 1.7 kB
import { BaseAPIRequestFactory } from './baseapi'; import { Configuration } from '../configuration'; import { RequestContext, ResponseContext, HttpInfo } from '../http/http'; import { CollectionResponseAssociationSpecWithLabelNoPaging } from '../models/CollectionResponseAssociationSpecWithLabelNoPaging'; import { PublicAssociationDefinitionCreateRequest } from '../models/PublicAssociationDefinitionCreateRequest'; import { PublicAssociationDefinitionUpdateRequest } from '../models/PublicAssociationDefinitionUpdateRequest'; export declare class DefinitionsApiRequestFactory extends BaseAPIRequestFactory { create(fromObjectType: string, toObjectType: string, publicAssociationDefinitionCreateRequest: PublicAssociationDefinitionCreateRequest, _options?: Configuration): Promise<RequestContext>; getAll(fromObjectType: string, toObjectType: string, _options?: Configuration): Promise<RequestContext>; remove(fromObjectType: string, toObjectType: string, associationTypeId: number, _options?: Configuration): Promise<RequestContext>; update(fromObjectType: string, toObjectType: string, publicAssociationDefinitionUpdateRequest: PublicAssociationDefinitionUpdateRequest, _options?: Configuration): Promise<RequestContext>; } export declare class DefinitionsApiResponseProcessor { createWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponseAssociationSpecWithLabelNoPaging>>; getAllWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponseAssociationSpecWithLabelNoPaging>>; removeWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; updateWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; }