@datocms/cma-client
Version:
JS client for DatoCMS REST Content Management API
25 lines (24 loc) • 933 B
TypeScript
import BaseResource from '../../BaseResource';
import type * as SchemaTypes from '../SchemaTypes';
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
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: SimpleSchemaTypes.AuditLogEventQuerySchema): Promise<SimpleSchemaTypes.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: SchemaTypes.AuditLogEventQuerySchema): Promise<SchemaTypes.AuditLogEventQueryTargetSchema>;
}