UNPKG

@fullstory/server-api-client

Version:

The official FullStory server API client SDK for NodeJS.

31 lines (30 loc) 958 B
/** * This file is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Generated from schema: fullstory.v2.events.CreateEventRequest * Do not edit manually. */ import { Context } from '../events/Context'; import { SessionIdRequest } from '../events/SessionIdRequest'; import { UserIdRequest } from '../events/UserIdRequest'; import { Schema } from '../varsapi/Schema'; /** * @interface CreateEventRequest */ export interface CreateEventRequest { 'user'?: UserIdRequest; 'session'?: SessionIdRequest; 'context'?: Context; /** * The event's name. */ 'name': string; /** * Optional. The event's timestamp represented in ISO 8601 format. If not provided, the current FullStory server time will be used. It is recommended to always set the timestamp. */ 'timestamp'?: string; /** * Optional. The custom event's payload. */ 'properties'?: object; 'schema'?: Schema; }