UNPKG

@datocms/cma-client

Version:
25 lines (24 loc) 897 B
import BaseResource from '../../BaseResource'; import type * as ApiTypes from '../ApiTypes'; import type * as RawApiTypes from '../RawApiTypes'; export default class AuditLogEvent extends BaseResource { static readonly TYPE: "audit_log_event"; /** * List Audit Log events * * Read more: https://www.datocms.com/docs/content-management-api/resources/audit-log_event/query * * @throws {ApiError} * @throws {TimeoutError} */ query(body: ApiTypes.AuditLogEventQuerySchema): Promise<ApiTypes.AuditLogEventQueryTargetSchema>; /** * List Audit Log events * * Read more: https://www.datocms.com/docs/content-management-api/resources/audit-log_event/query * * @throws {ApiError} * @throws {TimeoutError} */ rawQuery(body: RawApiTypes.AuditLogEventQuerySchema): Promise<RawApiTypes.AuditLogEventQueryTargetSchema>; }