@datocms/cma-client
Version:
JS client for DatoCMS REST Content Management API
25 lines (24 loc) • 897 B
TypeScript
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>;
}