UNPKG

@jesseditson/dnsimple

Version:

A Node.JS client for the DNSimple API.

19 lines (18 loc) 534 B
import type { DNSimple, QueryParams } from "./main"; import type * as types from "./types"; export declare class Accounts { private readonly _client; constructor(_client: DNSimple); /** * Lists the accounts the current authenticated entity has access to. * * GET /accounts * * @see https://developer.dnsimple.com/v2/accounts/#listAccounts * * @param params Query parameters */ listAccounts: (params?: QueryParams & {}) => Promise<{ data: Array<types.Account>; }>; }