@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
38 lines (37 loc) • 3.46 kB
TypeScript
import { BaseAPIRequestFactory } from './baseapi';
import { Configuration } from '../configuration';
import { RequestContext, ResponseContext, HttpInfo } from '../http/http';
import { BatchInputContentFolder } from '../models/BatchInputContentFolder';
import { BatchInputJsonNode } from '../models/BatchInputJsonNode';
import { BatchInputPage } from '../models/BatchInputPage';
import { BatchInputString } from '../models/BatchInputString';
import { BatchResponseContentFolder } from '../models/BatchResponseContentFolder';
import { BatchResponseContentFolderWithErrors } from '../models/BatchResponseContentFolderWithErrors';
import { BatchResponsePage } from '../models/BatchResponsePage';
import { BatchResponsePageWithErrors } from '../models/BatchResponsePageWithErrors';
export declare class BatchApiRequestFactory extends BaseAPIRequestFactory {
archiveBatch(batchInputString: BatchInputString, _options?: Configuration): Promise<RequestContext>;
archiveBatch_1(batchInputString: BatchInputString, _options?: Configuration): Promise<RequestContext>;
archiveFolders(batchInputString: BatchInputString, _options?: Configuration): Promise<RequestContext>;
createBatch(batchInputPage: BatchInputPage, _options?: Configuration): Promise<RequestContext>;
createBatch_2(batchInputPage: BatchInputPage, _options?: Configuration): Promise<RequestContext>;
createFolders(batchInputContentFolder: BatchInputContentFolder, _options?: Configuration): Promise<RequestContext>;
readBatch(batchInputString: BatchInputString, archived?: boolean, _options?: Configuration): Promise<RequestContext>;
readBatch_3(batchInputString: BatchInputString, archived?: boolean, _options?: Configuration): Promise<RequestContext>;
updateBatch(batchInputJsonNode: BatchInputJsonNode, archived?: boolean, _options?: Configuration): Promise<RequestContext>;
updateBatch_4(batchInputJsonNode: BatchInputJsonNode, archived?: boolean, _options?: Configuration): Promise<RequestContext>;
updateFolders(batchInputJsonNode: BatchInputJsonNode, archived?: boolean, _options?: Configuration): Promise<RequestContext>;
}
export declare class BatchApiResponseProcessor {
archiveBatchWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
archiveBatch_1WithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
archiveFoldersWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
createBatchWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponsePage | BatchResponsePageWithErrors>>;
createBatch_2WithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponsePage | BatchResponsePageWithErrors>>;
createFoldersWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponseContentFolder | BatchResponseContentFolderWithErrors>>;
readBatchWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponsePage | BatchResponsePageWithErrors>>;
readBatch_3WithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponsePage | BatchResponsePageWithErrors>>;
updateBatchWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponsePage | BatchResponsePageWithErrors>>;
updateBatch_4WithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponsePage | BatchResponsePageWithErrors>>;
updateFoldersWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BatchResponseContentFolder | BatchResponseContentFolderWithErrors>>;
}