@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
19 lines (18 loc) • 1.69 kB
TypeScript
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 LabelsApiRequestFactory extends BaseAPIRequestFactory {
create(fromObjectType: string, toObjectType: string, publicAssociationDefinitionCreateRequest: PublicAssociationDefinitionCreateRequest, _options?: Configuration): Promise<RequestContext>;
getPage(fromObjectType: string, toObjectType: string, _options?: Configuration): Promise<RequestContext>;
remove(associationTypeId: number, fromObjectType: string, toObjectType: string, _options?: Configuration): Promise<RequestContext>;
update(fromObjectType: string, toObjectType: string, publicAssociationDefinitionUpdateRequest: PublicAssociationDefinitionUpdateRequest, _options?: Configuration): Promise<RequestContext>;
}
export declare class LabelsApiResponseProcessor {
createWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponseAssociationSpecWithLabelNoPaging>>;
getPageWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponseAssociationSpecWithLabelNoPaging>>;
removeWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
updateWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
}