UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

27 lines • 843 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../core/resource.mjs"; import { V4PagePaginationArray, } from "../../../core/pagination.mjs"; export var BaseHistory = /* @__PURE__ */ (() => { class BaseHistory extends APIResource { /** * Accesses your billing history object. * * @deprecated */ list(query = {}, options) { return this._client.getAPIList('/user/billing/history', (V4PagePaginationArray), { query, ...options, }); } } BaseHistory._key = Object.freeze([ 'user', 'billing', 'history', ]); return BaseHistory; })(); export class History extends BaseHistory { } //# sourceMappingURL=history.mjs.map