cloudflare
Version:
The official TypeScript library for the Cloudflare API
39 lines (34 loc) • 1.08 kB
text/typescript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from '../../../core/resource';
import * as AuditAPI from './audit';
import {
Audit,
AuditHistoryParams,
AuditHistoryResponse,
AuditListParams,
AuditListResponse,
AuditListResponsesCursorPaginationAfter,
BaseAudit,
} from './audit';
export class BaseLogs extends APIResource {
static override readonly _key: readonly ['organizations', 'logs'] = Object.freeze([
'organizations',
'logs',
] as const);
}
export class Logs extends BaseLogs {
audit: AuditAPI.Audit = new AuditAPI.Audit(this._client);
}
Logs.Audit = Audit;
Logs.BaseAudit = BaseAudit;
export declare namespace Logs {
export {
Audit as Audit,
BaseAudit as BaseAudit,
type AuditListResponse as AuditListResponse,
type AuditHistoryResponse as AuditHistoryResponse,
type AuditListResponsesCursorPaginationAfter as AuditListResponsesCursorPaginationAfter,
type AuditListParams as AuditListParams,
type AuditHistoryParams as AuditHistoryParams,
};
}