UNPKG

@hubspot/api-client

Version:

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

83 lines (82 loc) 8.64 kB
import { BaseAPIRequestFactory } from './baseapi'; import { Configuration } from '../configuration'; import { RequestContext, ResponseContext, HttpInfo } from '../http/http'; import { ApiCollectionResponseJoinTimeAndRecordId } from '../models/ApiCollectionResponseJoinTimeAndRecordId'; import { ApiCollectionResponseRecordListMembership } from '../models/ApiCollectionResponseRecordListMembership'; import { ListCreateRequest } from '../models/ListCreateRequest'; import { ListCreateResponse } from '../models/ListCreateResponse'; import { ListFetchResponse } from '../models/ListFetchResponse'; import { ListFilterUpdateRequest } from '../models/ListFilterUpdateRequest'; import { ListFolderCreateRequest } from '../models/ListFolderCreateRequest'; import { ListFolderCreateResponse } from '../models/ListFolderCreateResponse'; import { ListFolderFetchResponse } from '../models/ListFolderFetchResponse'; import { ListMoveRequest } from '../models/ListMoveRequest'; import { ListSizeAndEditHistoryResponse } from '../models/ListSizeAndEditHistoryResponse'; import { ListUpdateResponse } from '../models/ListUpdateResponse'; import { ListsByIdResponse } from '../models/ListsByIdResponse'; import { MembershipChangeRequest } from '../models/MembershipChangeRequest'; import { MembershipsUpdateResponse } from '../models/MembershipsUpdateResponse'; import { PublicBatchMigrationMapping } from '../models/PublicBatchMigrationMapping'; import { PublicListConversionResponse } from '../models/PublicListConversionResponse'; import { PublicListConversionTime } from '../models/PublicListConversionTime'; import { PublicMigrationMapping } from '../models/PublicMigrationMapping'; export declare class BasicApiRequestFactory extends BaseAPIRequestFactory { crmV3Lists(includeFilters?: boolean, listIds?: Array<string>, _options?: Configuration): Promise<RequestContext>; crmV3ListsFolders(folderId?: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsFoldersFolderId(folderId: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsFoldersFolderIdMoveNewParentFolderId(folderId: string, newParentFolderId: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsFoldersFolderIdRename(folderId: string, newFolderName?: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsFoldersMoveList(listMoveRequest: ListMoveRequest, _options?: Configuration): Promise<RequestContext>; crmV3ListsFolders_1(listFolderCreateRequest: ListFolderCreateRequest, _options?: Configuration): Promise<RequestContext>; crmV3ListsIdmapping(legacyListId?: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsIdmapping_2(requestBody: Array<string>, _options?: Configuration): Promise<RequestContext>; crmV3ListsListId(listId: string, includeFilters?: boolean, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdMemberships(listId: string, after?: string, before?: string, limit?: number, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdMembershipsAdd(listId: string, requestBody: Array<string>, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdMembershipsAddAndRemove(listId: string, membershipChangeRequest: MembershipChangeRequest, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdMembershipsAddFromSourceListId(listId: string, sourceListId: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdMembershipsJoinOrder(listId: string, after?: string, before?: string, limit?: number, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdMembershipsRemove(listId: string, requestBody: Array<string>, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdMemberships_3(listId: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdRestore(listId: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdScheduleConversion(listId: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdScheduleConversion_4(listId: string, publicListConversionTime: PublicListConversionTime, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdScheduleConversion_5(listId: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdSizeAndEditsHistoryBetween(listId: string, endDate?: Date, startDate?: Date, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdUpdateListFilters(listId: string, listFilterUpdateRequest: ListFilterUpdateRequest, enrollObjectsInWorkflows?: boolean, _options?: Configuration): Promise<RequestContext>; crmV3ListsListIdUpdateListName(listId: string, includeFilters?: boolean, listName?: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsListId_6(listId: string, _options?: Configuration): Promise<RequestContext>; crmV3ListsObjectTypeIdObjectTypeIdNameListName(listName: string, objectTypeId: string, includeFilters?: boolean, _options?: Configuration): Promise<RequestContext>; crmV3ListsRecordsObjectTypeIdRecordIdMemberships(objectTypeId: string, recordId: string, _options?: Configuration): Promise<RequestContext>; crmV3Lists_7(listCreateRequest: ListCreateRequest, _options?: Configuration): Promise<RequestContext>; } export declare class BasicApiResponseProcessor { crmV3ListsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListsByIdResponse>>; crmV3ListsFoldersWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListFolderFetchResponse>>; crmV3ListsFoldersFolderIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; crmV3ListsFoldersFolderIdMoveNewParentFolderIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListFolderFetchResponse>>; crmV3ListsFoldersFolderIdRenameWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListFolderFetchResponse>>; crmV3ListsFoldersMoveListWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; crmV3ListsFolders_1WithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListFolderCreateResponse>>; crmV3ListsIdmappingWithHttpInfo(response: ResponseContext): Promise<HttpInfo<PublicMigrationMapping>>; crmV3ListsIdmapping_2WithHttpInfo(response: ResponseContext): Promise<HttpInfo<PublicBatchMigrationMapping>>; crmV3ListsListIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListFetchResponse>>; crmV3ListsListIdMembershipsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ApiCollectionResponseJoinTimeAndRecordId>>; crmV3ListsListIdMembershipsAddWithHttpInfo(response: ResponseContext): Promise<HttpInfo<MembershipsUpdateResponse>>; crmV3ListsListIdMembershipsAddAndRemoveWithHttpInfo(response: ResponseContext): Promise<HttpInfo<MembershipsUpdateResponse>>; crmV3ListsListIdMembershipsAddFromSourceListIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; crmV3ListsListIdMembershipsJoinOrderWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ApiCollectionResponseJoinTimeAndRecordId>>; crmV3ListsListIdMembershipsRemoveWithHttpInfo(response: ResponseContext): Promise<HttpInfo<MembershipsUpdateResponse>>; crmV3ListsListIdMemberships_3WithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; crmV3ListsListIdRestoreWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; crmV3ListsListIdScheduleConversionWithHttpInfo(response: ResponseContext): Promise<HttpInfo<PublicListConversionResponse>>; crmV3ListsListIdScheduleConversion_4WithHttpInfo(response: ResponseContext): Promise<HttpInfo<PublicListConversionResponse>>; crmV3ListsListIdScheduleConversion_5WithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; crmV3ListsListIdSizeAndEditsHistoryBetweenWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListSizeAndEditHistoryResponse>>; crmV3ListsListIdUpdateListFiltersWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListUpdateResponse>>; crmV3ListsListIdUpdateListNameWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListUpdateResponse>>; crmV3ListsListId_6WithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>; crmV3ListsObjectTypeIdObjectTypeIdNameListNameWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListFetchResponse>>; crmV3ListsRecordsObjectTypeIdRecordIdMembershipsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ApiCollectionResponseRecordListMembership>>; crmV3Lists_7WithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListCreateResponse>>; }