UNPKG

@elimeleth/vct-flow

Version:

Crea un archivo app.ts, coloca el codigo de abajo alli y luego puedes correrlo con `npx tsx src/app.ts`

46 lines (45 loc) 1.02 kB
import { Context } from "../../../types"; export declare class Client { id: number; thread_id: string; name: string; phone: string; is_paused: boolean; pause_date: string; created_at: Date; updated_at: Date; last_activity: Date; } export declare class Message { id: number; user_message: string; assistant_message: string; user_message_created_at: Date; assistant_message_created_at: Date; phone: string; message_id: string; is_paused: boolean; from_me: boolean; metadata: Record<string, any>; created_at: Date; updated_at: Date; } export declare class Logging { id: number; msg_id: string; phone: string; ctx: Context; delivered: boolean; is_paused: boolean; created_at: Date; updated_at: Date; } export declare class ExecutionError { id: string; thread_id: string; node_id: string; error_message: string; stack_trace?: string; context_snapshot?: string; created_at: Date; }