UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

27 lines • 1.02 kB
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../core/resource.mjs"; import * as HistoryAPI from "./history.mjs"; import { BaseHistory, History, } from "./history.mjs"; import * as ProfileAPI from "./profile.mjs"; import { BaseProfile, Profile } from "./profile.mjs"; export var BaseBilling = /* @__PURE__ */ (() => { class BaseBilling extends APIResource { } BaseBilling._key = Object.freeze(['user', 'billing']); return BaseBilling; })(); export var Billing = /* @__PURE__ */ (() => { class Billing extends BaseBilling { constructor() { super(...arguments); this.history = new HistoryAPI.History(this._client); this.profile = new ProfileAPI.Profile(this._client); } } Billing.History = History; Billing.BaseHistory = BaseHistory; Billing.Profile = Profile; Billing.BaseProfile = BaseProfile; return Billing; })(); //# sourceMappingURL=billing.mjs.map