cloudflare
Version:
The official TypeScript library for the Cloudflare API
13 lines • 519 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflare/resource';
export class Profiles extends 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);
}
}
(function (Profiles) {
})(Profiles || (Profiles = {}));
//# sourceMappingURL=profiles.mjs.map