@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`
38 lines (37 loc) • 838 B
TypeScript
import { Context } from "../../../types";
export declare class Client {
id: number;
thread_id: string;
name: string;
phone: string;
message_id: 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;
message_id: string;
is_paused: boolean;
from_me: boolean;
user_message_created_at: Date;
assistant_message_created_at: Date;
phone: string;
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;
}