import type { Bot, BotContexts, BotFlowJson, BotSettings } from '../bots/types'; import type { User } from '../users/types'; export type BotVersionStatus = 'draft' | 'published'; export type BotVersion = { id: string; status: BotVersionStatus; contexts: BotContexts; flowJson: BotFlowJson; settings: BotSettings; botId: string; accountId: string; createdById: string | null; publishedById: string | null; deletedById: string | null; publishedAt: string | null; createdAt: string; updatedAt: string; deletedAt: string | null; bot?: Bot; createdBy?: User | null; publishedBy?: User | null; }; export type BotVersionRelationships = 'bot' | 'createdBy' | 'publishedBy'; export type CreateBotVersionPayload = { botId: string; contexts?: BotContexts; flowJson?: BotFlowJson; settings?: BotSettings; }; export type UpdateBotVersionPayload = { contexts?: BotContexts; flowJson?: BotFlowJson; settings?: BotSettings; status?: BotVersionStatus; }; //# sourceMappingURL=types.d.ts.map