UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

33 lines • 1.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Billing = exports.BaseBilling = void 0; const tslib_1 = require("../../../internal/tslib.js"); // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. const resource_1 = require("../../../core/resource.js"); const HistoryAPI = tslib_1.__importStar(require("./history.js")); const history_1 = require("./history.js"); const ProfileAPI = tslib_1.__importStar(require("./profile.js")); const profile_1 = require("./profile.js"); var BaseBilling = /* @__PURE__ */ (() => { class BaseBilling extends resource_1.APIResource { } BaseBilling._key = Object.freeze(['user', 'billing']); return BaseBilling; })(); exports.BaseBilling = BaseBilling; 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_1.History; Billing.BaseHistory = history_1.BaseHistory; Billing.Profile = profile_1.Profile; Billing.BaseProfile = profile_1.BaseProfile; return Billing; })(); exports.Billing = Billing; //# sourceMappingURL=billing.js.map