cloudflare
Version:
The official TypeScript library for the Cloudflare API
23 lines • 701 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../core/resource.mjs";
export var BaseProfile = /* @__PURE__ */ (() => {
class BaseProfile extends 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;
})();
export class Profile extends BaseProfile {
}
//# sourceMappingURL=profile.mjs.map