/** * Pipedrive API v2 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from './configuration'; import type { AxiosError, AxiosResponse, AxiosRequestConfig, InternalAxiosRequestConfig, AxiosInstance } from 'axios'; export declare const BASE_PATH: string; /** * * @export */ export declare const COLLECTION_FORMATS: { csv: string; ssv: string; tsv: string; pipes: string; }; /** * * @export * @interface RequestArgs */ export interface RequestArgs { url: string; options: AxiosRequestConfig; } export declare const versionInterceptor: (config: InternalAxiosRequestConfig) => Promise>; export declare const responseInterceptor: (response: AxiosResponse) => any; export declare const errorInterceptor: (error: AxiosError) => Promise; /** * * @export * @class BaseAPI */ export declare class BaseAPI { protected configuration: Configuration | undefined; protected basePath: string; protected axios: AxiosInstance; constructor(configuration: Configuration); } /** * * @export * @class RequiredError * @extends {Error} */ export declare class RequiredError extends Error { field: string; constructor(field: string, msg?: string); }