Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LeadsList

The LeadsList class can be instanciated only from the main class it's intended for internal use only and is not exported from the package

Hierarchy

Index

Constructors

constructor

Properties

Protected apiKey

apiKey: string

Private call

call: string = "leads_lists"

endpoint

endpoint: string = "https://api.hunter.io/v2"

Protected instance

instance: AxiosInstance

Methods

create

delete

  • delete(id: number): Promise<void>
  • delete(id: number, callback: Callback<void>): void
  • Deletes an existing leads list.

    Parameters

    • id: number

    Returns Promise<void>

  • Deletes an existing leads list.

    Parameters

    Returns void

list

retrieve

Protected run

  • run(__namedParameters: object): Promise<any>
  • Call the Hunter.io api internally with specified options. This method is not supposed to use directly.

    Parameters

    • __namedParameters: object
      • action: string
      • callback: any
      • id: undefined | string | number
      • options: any
      • type: string

    Returns Promise<any>

update

Generated using TypeDoc