UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

28 lines • 883 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Profile = exports.BaseProfile = void 0; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. const resource_1 = require("../../../core/resource.js"); var BaseProfile = /* @__PURE__ */ (() => { class BaseProfile extends resource_1.APIResource { /** * Accesses your billing profile object. * * @deprecated */ get(options) { return this._client.get('/user/billing/profile', options)._thenUnwrap((obj) => obj.result); } } BaseProfile._key = Object.freeze([ 'user', 'billing', 'profile', ]); return BaseProfile; })(); exports.BaseProfile = BaseProfile; class Profile extends BaseProfile { } exports.Profile = Profile; //# sourceMappingURL=profile.js.map