/**
 * Contacts
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v3
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/// <reference types="node" />
import http = require('http');
import { BatchInputSimplePublicObjectBatchInput } from '../model/batchInputSimplePublicObjectBatchInput';
import { BatchInputSimplePublicObjectId } from '../model/batchInputSimplePublicObjectId';
import { BatchInputSimplePublicObjectInput } from '../model/batchInputSimplePublicObjectInput';
import { BatchReadInputSimplePublicObjectId } from '../model/batchReadInputSimplePublicObjectId';
import { BatchResponseSimplePublicObject } from '../model/batchResponseSimplePublicObject';
import { Authentication, Interceptor } from '../model/models';
import { ApiKeyAuth, OAuth } from '../model/models';
export declare enum BatchApiApiKeys {
    hapikey = 0
}
export declare class BatchApi {
    protected _basePath: string;
    protected _defaultHeaders: any;
    protected _useQuerystring: boolean;
    protected authentications: {
        default: Authentication;
        hapikey: ApiKeyAuth;
        oauth2: OAuth;
    };
    protected interceptors: Interceptor[];
    constructor(basePath?: string);
    set useQuerystring(value: boolean);
    set basePath(basePath: string);
    set defaultHeaders(defaultHeaders: any);
    get defaultHeaders(): any;
    get basePath(): string;
    setDefaultAuthentication(auth: Authentication): void;
    setApiKey(key: BatchApiApiKeys, value: string): void;
    set accessToken(token: string);
    addInterceptor(interceptor: Interceptor): void;
    /**
     * Archive a list of contacts given a collection of IDs. This method will return a `204 No Content` response on success regardless of the initial state of the object (e.g. active, already archived, non-existent).
     * @summary Archive a batch of contacts by ID
     * @param batchInputSimplePublicObjectId
     */
    archive(batchInputSimplePublicObjectId: BatchInputSimplePublicObjectId, options?: {
        headers: {
            [name: string]: string;
        };
    }): Promise<{
        response: http.IncomingMessage;
        body?: any;
    }>;
    /**
     * Create a batch of contacts. This follows the same rules as creating an individual object.
     * @summary Create a batch of contacts
     * @param batchInputSimplePublicObjectInput
     */
    create(batchInputSimplePublicObjectInput: BatchInputSimplePublicObjectInput, options?: {
        headers: {
            [name: string]: string;
        };
    }): Promise<{
        response: http.IncomingMessage;
        body: BatchResponseSimplePublicObject;
    }>;
    /**
     * Read a list of contacts given a collection of IDs. Use the `properties` request body property to control which properties are returned.
     * @summary Read a batch of contacts by internal ID, or unique property values
     * @param batchReadInputSimplePublicObjectId
     * @param archived Whether to return only results that have been archived.
     */
    read(batchReadInputSimplePublicObjectId: BatchReadInputSimplePublicObjectId, archived?: boolean, options?: {
        headers: {
            [name: string]: string;
        };
    }): Promise<{
        response: http.IncomingMessage;
        body: BatchResponseSimplePublicObject;
    }>;
    /**
     * Perform a partial upate on a batch of contacts. This follows the same rules as performing partial updates on an individual object.
     * @summary Update a batch of contacts
     * @param batchInputSimplePublicObjectBatchInput
     */
    update(batchInputSimplePublicObjectBatchInput: BatchInputSimplePublicObjectBatchInput, options?: {
        headers: {
            [name: string]: string;
        };
    }): Promise<{
        response: http.IncomingMessage;
        body: BatchResponseSimplePublicObject;
    }>;
}
