UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

35 lines (30 loc) • 1.02 kB
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from '../../../core/resource'; import * as ReportsAPI from './reports'; import { BaseReports, ReportListParams, ReportListResponse, ReportListResponsesV4PagePaginationArray, Reports, } from './reports'; export class BasePhishguard extends APIResource { static override readonly _key: readonly ['emailSecurity', 'phishguard'] = Object.freeze([ 'emailSecurity', 'phishguard', ] as const); } export class Phishguard extends BasePhishguard { reports: ReportsAPI.Reports = new ReportsAPI.Reports(this._client); } Phishguard.Reports = Reports; Phishguard.BaseReports = BaseReports; export declare namespace Phishguard { export { Reports as Reports, BaseReports as BaseReports, type ReportListResponse as ReportListResponse, type ReportListResponsesV4PagePaginationArray as ReportListResponsesV4PagePaginationArray, type ReportListParams as ReportListParams, }; }