UNPKG

@hubspot/api-client

Version:

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

20 lines (19 loc) 1.76 kB
import { BaseAPIRequestFactory } from './baseapi'; import { Configuration } from '../configuration'; import { RequestContext, ResponseContext, HttpInfo } from '../http/http'; import { BatchInputPublicAssociation } from '../models/BatchInputPublicAssociation'; import { BatchInputPublicObjectId } from '../models/BatchInputPublicObjectId'; import { BatchResponsePublicAssociation } from '../models/BatchResponsePublicAssociation'; import { BatchResponsePublicAssociationMulti } from '../models/BatchResponsePublicAssociationMulti'; import { BatchResponsePublicAssociationMultiWithErrors } from '../models/BatchResponsePublicAssociationMultiWithErrors'; import { BatchResponsePublicAssociationWithErrors } from '../models/BatchResponsePublicAssociationWithErrors'; export declare class BatchApiRequestFactory extends BaseAPIRequestFactory { archive(fromObjectType: string, toObjectType: string, batchInputPublicAssociation: BatchInputPublicAssociation, _options?: Configuration): Promise<RequestContext>; create(fromObjectType: string, toObjectType: string, batchInputPublicAssociation: BatchInputPublicAssociation, _options?: Configuration): Promise<RequestContext>; read(fromObjectType: string, toObjectType: string, batchInputPublicObjectId: BatchInputPublicObjectId, _options?: Configuration): Promise<RequestContext>; } export declare class BatchApiResponseProcessor { archiveWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; createWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponsePublicAssociation | BatchResponsePublicAssociationWithErrors>>; readWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponsePublicAssociationMultiWithErrors | BatchResponsePublicAssociationMulti>>; }