import z from 'zod'; import { SourceResolved } from './SourceService'; import { Invoice } from './InvoiceService'; export declare const zEmbedTheme: z.ZodEnum<["dark", "light"]>; export declare const zEmbedType: z.ZodEnum<["attribute", "launcher"]>; export declare const zEmbedPosition: z.ZodEnum<["bottom-right", "bottom-left"]>; export declare const embedConfiguration: z.ZodObject<{ enabled: z.ZodOptional; theme: z.ZodOptional>; type: z.ZodOptional>; position: z.ZodOptional>; background: z.ZodOptional; color: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; export declare const trackingConfiguration: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; export declare const promptConfiguration: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; export declare const bot: z.ZodObject<{ _id: z.ZodString; organizationId: z.ZodString; sourceIds: z.ZodArray; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; archived: z.ZodBoolean; embed: z.ZodObject<{ enabled: z.ZodOptional; theme: z.ZodOptional>; type: z.ZodOptional>; position: z.ZodOptional>; background: z.ZodOptional; color: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }>; export declare const botFiles: z.ZodObject<{ imageFile: z.ZodNullable; durationSeconds: z.ZodOptional; url: z.ZodString; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; name: string; mimetype: string; encoding: string; url: string; sizeBytes?: number | undefined; durationSeconds?: number | undefined; }, { _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; name: string; mimetype: string; encoding: string; url: string; sizeBytes?: number | undefined; durationSeconds?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { imageFile: { _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; name: string; mimetype: string; encoding: string; url: string; sizeBytes?: number | undefined; durationSeconds?: number | undefined; } | null; }, { imageFile: { _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; name: string; mimetype: string; encoding: string; url: string; sizeBytes?: number | undefined; durationSeconds?: number | undefined; } | null; }>; export type Bot = z.infer; export type BotFiles = z.infer; export type EmbedConfiguration = z.infer; export type EmbedTheme = z.infer; export type EmbedType = z.infer; export type EmbedPosition = z.infer; export type TrackingConfiguration = z.infer; export type PromptConfiguration = z.infer; export type BotResolved = Bot & { sources: SourceResolved[]; files: BotFiles; invoice: Invoice; }; export interface BotService { create(request: CreateBotRequest): Promise; edit(request: EditBotRequest): Promise; archive(request: ArchiveBotRequest): Promise; get(request: GetBotRequest): Promise; list(request: ListBotsRequest): Promise; superList(request: SuperListBotsRequest): Promise; } /** ****************************************************************************** * Create Bot ******************************************************************************* */ export declare const createBotParams: z.ZodObject<{ title: z.ZodString; sourceIds: z.ZodArray; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; addSource: z.ZodObject<{ botId: z.ZodOptional; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; importUrl: z.ZodOptional; transcribe: z.ZodOptional; regex: z.ZodOptional>; stripePriceId: z.ZodOptional; type: z.ZodEnum<["YouTube", "RSS", "SiteMap", "Files", "WARC"]>; }, "strip", z.ZodTypeAny, { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }, { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }>; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; }, "strip", z.ZodTypeAny, { title: string; description: string; imageFileId: string; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; addSource: { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }; }, { title: string; description: string; imageFileId: string; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; addSource: { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }; }>; export declare const createBotRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ title: z.ZodString; sourceIds: z.ZodArray; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; addSource: z.ZodObject<{ botId: z.ZodOptional; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; importUrl: z.ZodOptional; transcribe: z.ZodOptional; regex: z.ZodOptional>; stripePriceId: z.ZodOptional; type: z.ZodEnum<["YouTube", "RSS", "SiteMap", "Files", "WARC"]>; }, "strip", z.ZodTypeAny, { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }, { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }>; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; }, "strip", z.ZodTypeAny, { title: string; description: string; imageFileId: string; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; addSource: { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }; }, { title: string; description: string; imageFileId: string; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; addSource: { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }; }>; }, "strip", z.ZodTypeAny, { params: { title: string; description: string; imageFileId: string; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; addSource: { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { title: string; description: string; imageFileId: string; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; addSource: { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; title: string; description: string; imageFileId: string; botId?: string | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; stripePriceId?: string | undefined; }; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const createBotResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; bot: z.ZodOptional; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; archived: z.ZodBoolean; embed: z.ZodObject<{ enabled: z.ZodOptional; theme: z.ZodOptional>; type: z.ZodOptional>; position: z.ZodOptional>; background: z.ZodOptional; color: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }>>; sources: z.ZodOptional; title: z.ZodString; description: z.ZodOptional; imageFileId: z.ZodOptional>; type: z.ZodEnum<["YouTube", "RSS", "SiteMap", "Files", "WARC"]>; importUrl: z.ZodOptional; transcribe: z.ZodOptional; regex: z.ZodOptional>; durationSeconds: z.ZodOptional; documentCount: z.ZodNumber; archived: z.ZodOptional; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; _id: string; organizationId: string; title: string; documentCount: number; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; syncId?: string | undefined; description?: string | undefined; imageFileId?: string | null | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; durationSeconds?: number | undefined; archived?: boolean | undefined; }, { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; _id: string; organizationId: string; title: string; documentCount: number; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; syncId?: string | undefined; description?: string | undefined; imageFileId?: string | null | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; durationSeconds?: number | undefined; archived?: boolean | undefined; }>, "many">>>; syncs: z.ZodOptional; status: z.ZodEnum<["Pending", "Running", "Complete", "Failed"]>; message: z.ZodOptional; info: z.ZodObject<{ total: z.ZodNumber; new: z.ZodNumber; existing: z.ZodNumber; removed: z.ZodNumber; pending: z.ZodNumber; running: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; }, "strip", z.ZodTypeAny, { total: number; new: number; existing: number; removed: number; pending: number; running: number; completed: number; failed: number; }, { total: number; new: number; existing: number; removed: number; pending: number; running: number; completed: number; failed: number; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "Initial" | "Manual" | "Automatic"; status: "Pending" | "Running" | "Complete" | "Failed"; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceId: string; info: { total: number; new: number; existing: number; removed: number; pending: number; running: number; completed: number; failed: number; }; message?: string | undefined; }, { type: "Initial" | "Manual" | "Automatic"; status: "Pending" | "Running" | "Complete" | "Failed"; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceId: string; info: { total: number; new: number; existing: number; removed: number; pending: number; running: number; completed: number; failed: number; }; message?: string | undefined; }>, "many">>>; subscription: z.ZodOptional; upgrade: z.ZodNullable; sourceIds: z.ZodNullable>; }, "strip", z.ZodTypeAny, { botId: string | null; productId: string; priceId: string; sourceIds: string[] | null; }, { botId: string | null; productId: string; priceId: string; sourceIds: string[] | null; }>>; usageLimits: z.ZodObject<{ credits: z.ZodNumber; documents: z.ZodNumber; syncs: z.ZodNumber; }, "strip", z.ZodTypeAny, { credits: number; documents: number; syncs: number; }, { credits: number; documents: number; syncs: number; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { status: "Pending" | "Active" | "Canceled"; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripePriceId: string; stripeCustomerId: string; stripeSubscriptionId: string; stripeProductId: string; upgrade: { botId: string | null; productId: string; priceId: string; sourceIds: string[] | null; } | null; usageLimits: { credits: number; documents: number; syncs: number; }; }, { status: "Pending" | "Active" | "Canceled"; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripePriceId: string; stripeCustomerId: string; stripeSubscriptionId: string; stripeProductId: string; upgrade: { botId: string | null; productId: string; priceId: string; sourceIds: string[] | null; } | null; usageLimits: { credits: number; documents: number; syncs: number; }; }>>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bot?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; } | undefined; sources?: { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; _id: string; organizationId: string; title: string; documentCount: number; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; syncId?: string | undefined; description?: string | undefined; imageFileId?: string | null | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; durationSeconds?: number | undefined; archived?: boolean | undefined; }[] | null | undefined; syncs?: { type: "Initial" | "Manual" | "Automatic"; status: "Pending" | "Running" | "Complete" | "Failed"; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceId: string; info: { total: number; new: number; existing: number; removed: number; pending: number; running: number; completed: number; failed: number; }; message?: string | undefined; }[] | null | undefined; subscription?: { status: "Pending" | "Active" | "Canceled"; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripePriceId: string; stripeCustomerId: string; stripeSubscriptionId: string; stripeProductId: string; upgrade: { botId: string | null; productId: string; priceId: string; sourceIds: string[] | null; } | null; usageLimits: { credits: number; documents: number; syncs: number; }; } | null | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bot?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; } | undefined; sources?: { type: "YouTube" | "RSS" | "SiteMap" | "Files" | "WARC"; _id: string; organizationId: string; title: string; documentCount: number; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; syncId?: string | undefined; description?: string | undefined; imageFileId?: string | null | undefined; importUrl?: string | undefined; transcribe?: boolean | undefined; regex?: string | null | undefined; durationSeconds?: number | undefined; archived?: boolean | undefined; }[] | null | undefined; syncs?: { type: "Initial" | "Manual" | "Automatic"; status: "Pending" | "Running" | "Complete" | "Failed"; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceId: string; info: { total: number; new: number; existing: number; removed: number; pending: number; running: number; completed: number; failed: number; }; message?: string | undefined; }[] | null | undefined; subscription?: { status: "Pending" | "Active" | "Canceled"; _id: string; organizationId: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripePriceId: string; stripeCustomerId: string; stripeSubscriptionId: string; stripeProductId: string; upgrade: { botId: string | null; productId: string; priceId: string; sourceIds: string[] | null; } | null; usageLimits: { credits: number; documents: number; syncs: number; }; } | null | undefined; }>; export type CreateBotParams = z.infer; export type CreateBotRequest = z.infer; export type CreateBotResponse = z.infer; /** ****************************************************************************** * Edit Bot ******************************************************************************* */ export declare const editBotParams: z.ZodObject<{ _id: z.ZodString; title: z.ZodString; sourceIds: z.ZodArray; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; embed: z.ZodObject<{ enabled: z.ZodOptional>; theme: z.ZodOptional>>; type: z.ZodOptional>>; position: z.ZodOptional>>; background: z.ZodOptional>; color: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; }, "strip", z.ZodTypeAny, { _id: string; title: string; description: string; imageFileId: string; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }, { _id: string; title: string; description: string; imageFileId: string; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }>; export declare const editBotRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ _id: z.ZodOptional; title: z.ZodOptional; sourceIds: z.ZodOptional>; description: z.ZodOptional; imageFileId: z.ZodOptional; brandColor: z.ZodOptional; website: z.ZodOptional; faqs: z.ZodOptional>; model: z.ZodOptional>; embed: z.ZodOptional>; theme: z.ZodOptional>>; type: z.ZodOptional>>; position: z.ZodOptional>>; background: z.ZodOptional>; color: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>>; tracking: z.ZodOptional; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>>; prompt: z.ZodOptional>; }, "strip", z.ZodTypeAny, { _id?: string | undefined; title?: string | undefined; sourceIds?: string[] | undefined; description?: string | undefined; imageFileId?: string | undefined; brandColor?: string | undefined; website?: string | undefined; faqs?: string[] | undefined; model?: string | undefined; embed?: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; } | undefined; tracking?: { utms: string[]; } | undefined; prompt?: { topic: string; context: string; } | undefined; }, { _id?: string | undefined; title?: string | undefined; sourceIds?: string[] | undefined; description?: string | undefined; imageFileId?: string | undefined; brandColor?: string | undefined; website?: string | undefined; faqs?: string[] | undefined; model?: string | undefined; embed?: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; } | undefined; tracking?: { utms: string[]; } | undefined; prompt?: { topic: string; context: string; } | undefined; }>; }, "strip", z.ZodTypeAny, { params: { _id?: string | undefined; title?: string | undefined; sourceIds?: string[] | undefined; description?: string | undefined; imageFileId?: string | undefined; brandColor?: string | undefined; website?: string | undefined; faqs?: string[] | undefined; model?: string | undefined; embed?: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; } | undefined; tracking?: { utms: string[]; } | undefined; prompt?: { topic: string; context: string; } | undefined; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { _id?: string | undefined; title?: string | undefined; sourceIds?: string[] | undefined; description?: string | undefined; imageFileId?: string | undefined; brandColor?: string | undefined; website?: string | undefined; faqs?: string[] | undefined; model?: string | undefined; embed?: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; } | undefined; tracking?: { utms: string[]; } | undefined; prompt?: { topic: string; context: string; } | undefined; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const editBotResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; bot: z.ZodOptional; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; archived: z.ZodBoolean; embed: z.ZodObject<{ enabled: z.ZodOptional; theme: z.ZodOptional>; type: z.ZodOptional>; position: z.ZodOptional>; background: z.ZodOptional; color: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bot?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; } | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bot?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; } | undefined; }>; export type EditBotParams = z.infer; export type EditBotRequest = z.infer; export type EditBotResponse = z.infer; /** ****************************************************************************** * Archive Bot ******************************************************************************* */ export declare const archiveBotParams: z.ZodObject<{ _id: z.ZodString; archived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { _id: string; archived: boolean; }, { _id: string; archived: boolean; }>; export declare const archiveBotRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ _id: z.ZodString; archived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { _id: string; archived: boolean; }, { _id: string; archived: boolean; }>; }, "strip", z.ZodTypeAny, { params: { _id: string; archived: boolean; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { _id: string; archived: boolean; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const archiveBotResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; bot: z.ZodOptional; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; archived: z.ZodBoolean; embed: z.ZodObject<{ enabled: z.ZodOptional; theme: z.ZodOptional>; type: z.ZodOptional>; position: z.ZodOptional>; background: z.ZodOptional; color: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bot?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; } | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bot?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; } | undefined; }>; export type ArchiveBotParams = z.infer; export type ArchiveBotRequest = z.infer; export type ArchiveBotResponse = z.infer; /** ****************************************************************************** * Get Bot ******************************************************************************* */ export declare const getBotParams: z.ZodObject<{ botId: z.ZodString; }, "strip", z.ZodTypeAny, { botId: string; }, { botId: string; }>; export declare const getBotRequest: z.ZodObject<{ params: z.ZodObject<{ botId: z.ZodString; }, "strip", z.ZodTypeAny, { botId: string; }, { botId: string; }>; }, "strip", z.ZodTypeAny, { params: { botId: string; }; }, { params: { botId: string; }; }>; export declare const getBotResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; bot: z.ZodOptional; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; archived: z.ZodBoolean; embed: z.ZodObject<{ enabled: z.ZodOptional; theme: z.ZodOptional>; type: z.ZodOptional>; position: z.ZodOptional>; background: z.ZodOptional; color: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }>>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bot?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; } | null | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bot?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; } | null | undefined; }>; export type GetBotParams = z.infer; export type GetBotRequest = z.infer; export type GetBotResponse = z.infer; /** ****************************************************************************** * List Bots ******************************************************************************* */ export declare const listBotsParams: z.ZodObject<{ archived: z.ZodOptional; }, "strip", z.ZodTypeAny, { archived?: boolean | undefined; }, { archived?: boolean | undefined; }>; export declare const listBotsRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ archived: z.ZodOptional; }, "strip", z.ZodTypeAny, { archived?: boolean | undefined; }, { archived?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { params: { archived?: boolean | undefined; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { archived?: boolean | undefined; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const listBotsResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; bots: z.ZodOptional; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; archived: z.ZodBoolean; embed: z.ZodObject<{ enabled: z.ZodOptional; theme: z.ZodOptional>; type: z.ZodOptional>; position: z.ZodOptional>; background: z.ZodOptional; color: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bots?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bots?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }[] | undefined; }>; export type ListBotsParams = z.infer; export type ListBotsRequest = z.infer; export type ListBotsResponse = z.infer; /** ****************************************************************************** * Super List Bots ******************************************************************************* */ export declare const superListBotsParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const superListBotsRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const superListBotsResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; bots: z.ZodOptional; title: z.ZodString; description: z.ZodString; imageFileId: z.ZodString; brandColor: z.ZodString; website: z.ZodString; faqs: z.ZodArray; model: z.ZodNativeEnum<{ GPT35Turbo: string; GPT35Turbo0613: string; GPT35Turbo16K: string; GPT4: string; GPT40613: string; GPT41106: string; TextEmbeddingAda002: string; }>; archived: z.ZodBoolean; embed: z.ZodObject<{ enabled: z.ZodOptional; theme: z.ZodOptional>; type: z.ZodOptional>; position: z.ZodOptional>; background: z.ZodOptional; color: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }, { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }>; tracking: z.ZodObject<{ utms: z.ZodArray; }, "strip", z.ZodTypeAny, { utms: string[]; }, { utms: string[]; }>; prompt: z.ZodObject<{ topic: z.ZodString; context: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; context: string; }, { topic: string; context: string; }>; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }, { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bots?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; bots?: { _id: string; organizationId: string; title: string; description: string; imageFileId: string; archived: boolean; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; sourceIds: string[]; brandColor: string; website: string; faqs: string[]; model: string; embed: { enabled?: boolean | undefined; theme?: "light" | "dark" | undefined; type?: "launcher" | "attribute" | undefined; position?: "bottom-right" | "bottom-left" | undefined; background?: string | undefined; color?: string | undefined; }; tracking: { utms: string[]; }; prompt: { topic: string; context: string; }; }[] | undefined; }>; export type SuperListBotsParams = z.infer; export type SuperListBotsRequest = z.infer; export type SuperListBotsResponse = z.infer;