UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

22 lines • 799 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../core/resource.mjs"; import { SinglePage } from "../../core/pagination.mjs"; import { path } from "../../internal/utils/path.mjs"; export var BaseAccounts = /* @__PURE__ */ (() => { class BaseAccounts extends APIResource { /** * Lists the Cloudflare accounts associated with this tenant. */ list(tenantID, options) { return this._client.getAPIList(path `/tenants/${tenantID}/accounts`, (SinglePage), options); } } BaseAccounts._key = Object.freeze([ 'tenants', 'accounts', ]); return BaseAccounts; })(); export class Accounts extends BaseAccounts { } //# sourceMappingURL=accounts.mjs.map