/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Action } from './Action'; import type { TriggeredBy } from './TriggeredBy'; import type { Visitor } from './Visitor'; import type { Device } from './Device'; import type { EventAction } from './EventAction'; import type { ModelHTTPMethod } from './ModelHTTPMethod'; import type { VisitType } from './VisitType'; import type { EventTrace } from './EventTrace'; import type { Link } from './Link'; import type { LeadScore } from './LeadScore'; import type { Workspace } from './Workspace'; /** * Records each scan or workflow action Linkbreakers processes, stitching together visitor, device, link, and routing * details so analytics and automations stay in sync. * @export * @interface Event */ export interface Event { /** * * @type {Action} * @memberof Event */ action?: Action; /** * * @type {Date} * @memberof Event */ createdAt?: Date; /** * * @type {string} * @memberof Event */ destination?: string; /** * The workflow action that produced the destination URL. CLIENT_REDIRECT indicates a standard URL redirection, while other values represent form submissions, contact cards, etc. * @type {EventAction} * @memberof Event */ destinationAction?: EventAction; /** * * @type {Device} * @memberof Event */ device?: Device; /** * * @type {string} * @memberof Event */ deviceId?: string; /** * * @type {string} * @memberof Event */ entrypoint?: string; /** * * @type {ModelHTTPMethod} * @memberof Event */ httpMethod?: ModelHTTPMethod; /** * * @type {string} * @memberof Event */ id?: string; /** * * @type {LeadScore} * @memberof Event */ leadScore?: LeadScore; /** * * @type {string} * @memberof Event */ leadScoreId?: string; /** * * @type {Link} * @memberof Event */ link?: Link; /** * * @type {string} * @memberof Event */ linkId?: string; /** * * @type {Date} * @memberof Event */ scannedAt?: Date; /** * * @type {Array} * @memberof Event */ traces?: Array; /** * * @type {TriggeredBy} * @memberof Event */ triggeredBy?: TriggeredBy; /** * * @type {Date} * @memberof Event */ updatedAt?: Date; /** * * @type {VisitType} * @memberof Event */ visitType?: VisitType; /** * * @type {Visitor} * @memberof Event */ visitor?: Visitor; /** * * @type {string} * @memberof Event */ visitorId?: string; /** * * @type {Workspace} * @memberof Event */ workspace?: Workspace; /** * * @type {string} * @memberof Event */ workspaceId?: string; } /** * Check if a given object implements the Event interface. */ export declare function instanceOfEvent(value: object): value is Event; export declare function EventFromJSON(json: any): Event; export declare function EventFromJSONTyped(json: any, ignoreDiscriminator: boolean): Event; export declare function EventToJSON(json: any): Event; export declare function EventToJSONTyped(value?: Event | null, ignoreDiscriminator?: boolean): any;