@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
25 lines (24 loc) • 2.07 kB
TypeScript
import { BaseAPIRequestFactory } from './baseapi';
import { Configuration } from '../configuration';
import { RequestContext, ResponseContext, HttpInfo } from '../http/http';
import { CollectionResponseObjectSchemaNoPaging } from '../models/CollectionResponseObjectSchemaNoPaging';
import { ObjectSchema } from '../models/ObjectSchema';
import { ObjectSchemaEgg } from '../models/ObjectSchemaEgg';
import { ObjectTypeDefinition } from '../models/ObjectTypeDefinition';
import { ObjectTypeDefinitionPatch } from '../models/ObjectTypeDefinitionPatch';
export declare class BasicApiRequestFactory extends BaseAPIRequestFactory {
archive(objectType: string, archived?: boolean, _options?: Configuration): Promise<RequestContext>;
archiveAssociation(associationIdentifier: string, objectType: string, _options?: Configuration): Promise<RequestContext>;
create(objectSchemaEgg: ObjectSchemaEgg, _options?: Configuration): Promise<RequestContext>;
getAll(archived?: boolean, includeAssociationDefinitions?: boolean, includeAuditMetadata?: boolean, includePropertyDefinitions?: boolean, _options?: Configuration): Promise<RequestContext>;
getById(objectType: string, includeAssociationDefinitions?: boolean, includeAuditMetadata?: boolean, includePropertyDefinitions?: boolean, _options?: Configuration): Promise<RequestContext>;
update(objectType: string, objectTypeDefinitionPatch: ObjectTypeDefinitionPatch, _options?: Configuration): Promise<RequestContext>;
}
export declare class BasicApiResponseProcessor {
archiveWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
archiveAssociationWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
createWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ObjectSchema>>;
getAllWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponseObjectSchemaNoPaging>>;
getByIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ObjectSchema>>;
updateWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ObjectTypeDefinition>>;
}