/** * Pipedrive API v1 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.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 { AxiosInstance } from 'axios'; import { RequestArgs, BaseAPI } from '../base'; import { GetLeadsSourceResponse } from '../models'; /** * LeadSourcesApi - axios parameter creator * @export */ export declare const LeadSourcesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Pipedrive API will have a lead source `API` assigned. * @summary Get all lead sources * @throws {RequiredError} */ getLeadSources: () => Promise; }; /** * LeadSourcesApi - functional programming interface * @export */ export declare const LeadSourcesApiFp: (configuration?: Configuration) => { /** * Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Pipedrive API will have a lead source `API` assigned. * @summary Get all lead sources * @throws {RequiredError} */ getLeadSources(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>; }; /** * LeadSourcesApi - factory interface * @export */ export declare const LeadSourcesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Pipedrive API will have a lead source `API` assigned. * @summary Get all lead sources * @throws {RequiredError} */ getLeadSources(): Promise; }; /** * LeadSourcesApi - object-oriented interface * @export * @class LeadSourcesApi * @extends {BaseAPI} */ export declare class LeadSourcesApi extends BaseAPI { /** * Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Pipedrive API will have a lead source `API` assigned. * @summary Get all lead sources * @throws {RequiredError} * @memberof LeadSourcesApi */ getLeadSources(): Promise; }