/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { EnvironmentEnum } from './EnvironmentEnum'; import { EventContext } from './EventContext'; /** * * @export * @interface Event */ export interface Event { /** * * @type {string} * @memberof Event */ eventId: string; /** * * @type {string} * @memberof Event */ environmentId: string; /** * * @type {EnvironmentEnum} * @memberof Event */ environmentName: EnvironmentEnum; /** * The action that occurred (e.g. "created", "updated", "deleted") * @type {string} * @memberof Event */ eventAction?: string; /** * Dotted event name identifier (e.g. "admin.user.created") * @type {string} * @memberof Event */ eventName: string; /** * Type of resource affected by the event (e.g. "user", "wallet", "webhook") * @type {string} * @memberof Event */ resourceType?: string; /** * ISO 8601 timestamp of when the event occurred * @type {Date} * @memberof Event */ timestamp: Date; /** * Event payload containing the resource data at the time of the event * @type {object} * @memberof Event */ data: object; /** * * @type {EventContext} * @memberof Event */ context: EventContext; } export declare function EventFromJSON(json: any): Event; export declare function EventFromJSONTyped(json: any, ignoreDiscriminator: boolean): Event; export declare function EventToJSON(value?: Event | null): any;