cloudflare
Version:
The official TypeScript library for the Cloudflare API
31 lines • 1.14 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Phishguard = exports.BasePhishguard = void 0;
const tslib_1 = require("../../../internal/tslib.js");
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
const resource_1 = require("../../../core/resource.js");
const ReportsAPI = tslib_1.__importStar(require("./reports.js"));
const reports_1 = require("./reports.js");
var BasePhishguard = /* @__PURE__ */ (() => {
class BasePhishguard extends resource_1.APIResource {
}
BasePhishguard._key = Object.freeze([
'emailSecurity',
'phishguard',
]);
return BasePhishguard;
})();
exports.BasePhishguard = BasePhishguard;
var Phishguard = /* @__PURE__ */ (() => {
class Phishguard extends BasePhishguard {
constructor() {
super(...arguments);
this.reports = new ReportsAPI.Reports(this._client);
}
}
Phishguard.Reports = reports_1.Reports;
Phishguard.BaseReports = reports_1.BaseReports;
return Phishguard;
})();
exports.Phishguard = Phishguard;
//# sourceMappingURL=phishguard.js.map