UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

18 lines • 960 B
import { APIResource } from "../../core/resource.js"; import { PagePromise, SinglePage } from "../../core/pagination.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class BaseAccountTypes extends APIResource { static readonly _key: readonly ['tenants', 'accountTypes']; /** * Lists the account types this tenant is allowed to provision. */ list(tenantID: string, options?: RequestOptions): PagePromise<AccountTypeListResponsesSinglePage, AccountTypeListResponse>; } export declare class AccountTypes extends BaseAccountTypes { } export type AccountTypeListResponsesSinglePage = SinglePage<AccountTypeListResponse>; export type AccountTypeListResponse = string; export declare namespace AccountTypes { export { type AccountTypeListResponse as AccountTypeListResponse, type AccountTypeListResponsesSinglePage as AccountTypeListResponsesSinglePage, }; } //# sourceMappingURL=account-types.d.ts.map