Audit Event Data Model (types/auditEvent.ts)

vonage-node-sdk · packages/audit/lib/types/auditEvent.ts · typescript · Apache-2.0
security, infra, lang:typescript

Defines the structure for audit events within the Vonage ecosystem. Use this to standardize logging and tracking of user actions and API interactions.

// Source: https://github.com/Vonage/vonage-node-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { AuditEventTypes } from '../enums.js';
/**
 * Represents an Audit Event.
 */
export type AuditEvent = {
  /**
   * UUID of the audit event.
   */
  id: string;

  /**
   * The type of the audit event.
   *
   */
  eventType: AuditEventTypes | string;

  /**
   * The date when the audit event was created.
   */
  createdAt: string;

  /**
   * Email of the user whose account the audit event is associated with.
   */
  userEmail?: string;

  /**
   * The ID of the user that the audit event is associated with.
   */
  userId?: string;

  /**
   * The API_KEY of the Vonage API 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key