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