cloudflare
Version:
The official TypeScript library for the Cloudflare API
27 lines • 1.01 kB
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../core/resource.mjs";
import * as RetentionAPI from "./retention.mjs";
import { BaseRetention, Retention, } from "./retention.mjs";
import * as CmbAPI from "./cmb/cmb.mjs";
import { BaseCmb, Cmb } from "./cmb/cmb.mjs";
export var BaseControl = /* @__PURE__ */ (() => {
class BaseControl extends APIResource {
}
BaseControl._key = Object.freeze(['logs', 'control']);
return BaseControl;
})();
export var Control = /* @__PURE__ */ (() => {
class Control extends BaseControl {
constructor() {
super(...arguments);
this.retention = new RetentionAPI.Retention(this._client);
this.cmb = new CmbAPI.Cmb(this._client);
}
}
Control.Retention = Retention;
Control.BaseRetention = BaseRetention;
Control.Cmb = Cmb;
Control.BaseCmb = BaseCmb;
return Control;
})();
//# sourceMappingURL=control.mjs.map