cloudflare
Version:
The official TypeScript library for the Cloudflare API
17 lines • 617 B
JavaScript
;
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Profile = void 0;
const resource_1 = require("cloudflare/resource");
class Profile extends resource_1.APIResource {
/**
* Accesses your billing profile object.
*/
get(options) {
return this._client.get('/user/billing/profile', options)._thenUnwrap((obj) => obj.result);
}
}
exports.Profile = Profile;
(function (Profile) {
})(Profile = exports.Profile || (exports.Profile = {}));
//# sourceMappingURL=profile.js.map