UNPKG

@goboomtown/entities

Version:

entities in typescript format. This includes: - Customer

40 lines (39 loc) 969 B
import { ObjectReference } from './object-reference'; /** * Interface defining the property object that describes the cases. * * @see [CreateJourneyFlow](https://github.com/goboomtown/entities-ts/tree/master/docs) * * @OvationCXMApi */ export interface JourneyFlowEvent { name: string; source: string; type: string; kind: 'produced' | 'consumed'; } export interface JourneyFlowActivity { type: string; arguments?: Record<string, unknown>; events: JourneyFlowEvent[]; } export interface JourneyFlowStep { name: string; internalName: string; description: string; activities: JourneyFlowActivity[]; objectReferences: ObjectReference[]; } export interface JourneyFlowStage { name: string; internalName: string; description: string; steps: JourneyFlowStep[]; } export interface JourneyFlow { id: string; idJourney: string; name: string; stages: JourneyFlowStage[]; version: number; }