@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
31 lines (30 loc) • 2.77 kB
TypeScript
import { BaseAPIRequestFactory } from './baseapi';
import { Configuration } from '../configuration';
import { RequestContext, ResponseContext, HttpInfo } from '../http/http';
import { CollectionResponseTimelineEventTemplateNoPaging } from '../models/CollectionResponseTimelineEventTemplateNoPaging';
import { TimelineEventResponse } from '../models/TimelineEventResponse';
import { TimelineEventTemplate } from '../models/TimelineEventTemplate';
import { TimelineEventTemplateCreateRequest } from '../models/TimelineEventTemplateCreateRequest';
import { TimelineEventTemplateToken } from '../models/TimelineEventTemplateToken';
import { TimelineEventTemplateTokenUpdateRequest } from '../models/TimelineEventTemplateTokenUpdateRequest';
import { TimelineEventTemplateUpdateRequest } from '../models/TimelineEventTemplateUpdateRequest';
export declare class BasicApiRequestFactory extends BaseAPIRequestFactory {
archive(appId: number, eventTemplateId: string, _options?: Configuration): Promise<RequestContext>;
archive_1(appId: number, eventTemplateId: string, tokenName: string, _options?: Configuration): Promise<RequestContext>;
create(appId: number, timelineEventTemplateCreateRequest: TimelineEventTemplateCreateRequest, _options?: Configuration): Promise<RequestContext>;
getAll(appId: number, _options?: Configuration): Promise<RequestContext>;
getById(eventId: string, eventTemplateId: string, _options?: Configuration): Promise<RequestContext>;
getById_2(appId: number, eventTemplateId: string, _options?: Configuration): Promise<RequestContext>;
update(appId: number, eventTemplateId: string, timelineEventTemplateUpdateRequest: TimelineEventTemplateUpdateRequest, _options?: Configuration): Promise<RequestContext>;
update_3(appId: number, eventTemplateId: string, tokenName: string, timelineEventTemplateTokenUpdateRequest: TimelineEventTemplateTokenUpdateRequest, _options?: Configuration): Promise<RequestContext>;
}
export declare class BasicApiResponseProcessor {
archiveWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
archive_1WithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
createWithHttpInfo(response: ResponseContext): Promise<HttpInfo<TimelineEventTemplate>>;
getAllWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CollectionResponseTimelineEventTemplateNoPaging>>;
getByIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<TimelineEventResponse>>;
getById_2WithHttpInfo(response: ResponseContext): Promise<HttpInfo<TimelineEventTemplate>>;
updateWithHttpInfo(response: ResponseContext): Promise<HttpInfo<TimelineEventTemplate>>;
update_3WithHttpInfo(response: ResponseContext): Promise<HttpInfo<TimelineEventTemplateToken>>;
}