nextspace
    Preparing search index...

    Interface components

    interface components {
        headers: never;
        parameters: never;
        pathItems: never;
        requestBodies: never;
        responses: {
            DuplicateEmail: {
                content: { "application/json": { code?: number; message?: string } };
                headers: { [name: string]: unknown };
            };
            Forbidden: {
                content: { "application/json": { code?: number; message?: string } };
                headers: { [name: string]: unknown };
            };
            NotFound: {
                content: { "application/json": { code?: number; message?: string } };
                headers: { [name: string]: unknown };
            };
            Unauthorized: {
                content: { "application/json": { code?: number; message?: string } };
                headers: { [name: string]: unknown };
            };
        };
        schemas: {
            Adapter: {
                active: boolean;
                audioChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                chatChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                config: { [key: string]: unknown };
                conversation: string;
                dmChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                id?: string;
                type: string;
            };
            AdapterChannelConfig: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            };
            AdapterConfig: {
                audioChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                chatChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                config?: { [key: string]: unknown };
                dmChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                type: string;
            };
            Agent: {
                active?: boolean;
                agentConfig?: { [key: string]: unknown };
                agentEvaluation?: { action: 0 | 1 | 2 };
                agentType: string;
                conversation: string;
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                description: string;
                id?: string;
                instanceName?: string;
                lastActiveMessageCount?: number;
                llmModel: string;
                llmModelOptions?: { [key: string]: unknown };
                llmPlatform:
                    | "openai"
                    | "ollama"
                    | "perspective"
                    | "bedrock"
                    | "vllm"
                    | "google";
                llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                llmTemplates?: { [key: string]: string };
                llmTemplateVars?: {
                    [key: string]: { description?: string; name?: string }[];
                };
                name: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                ragCollectionName?: string;
                triggers?: {
                    periodic?: {
                        conversationHistorySettings?: {
                            channels?: string[];
                            count?: number;
                            directMessages?: boolean;
                            endTime?: string;
                            timeWindow?: number;
                        };
                        timerPeriod: number;
                    };
                    perMessage?: {
                        channels?: string[];
                        conversationHistorySettings?: {
                            channels?: string[];
                            count?: number;
                            directMessages?: boolean;
                            endTime?: string;
                            timeWindow?: number;
                        };
                        directMessages?: boolean;
                        minNewMessages?: number;
                    };
                };
                useTranscriptRAGCollection?: boolean;
            };
            AgentConfig: { name: string; properties?: { [key: string]: unknown } };
            AgentEvaluation: { action: 0 | 1 | 2 };
            AgentModification: {
                agent: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: 0 | 1 | 2 };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: {
                        [key: string]: { description?: string; name?: string }[];
                    };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: {
                        periodic?: {
                            conversationHistorySettings?: {
                                channels?: (...)[];
                                count?: number;
                                directMessages?: boolean;
                                endTime?: string;
                                timeWindow?: number;
                            };
                            timerPeriod: number;
                        };
                        perMessage?: {
                            channels?: string[];
                            conversationHistorySettings?: {
                                channels?: (...)[];
                                count?: number;
                                directMessages?: boolean;
                                endTime?: string;
                                timeWindow?: number;
                            };
                            directMessages?: boolean;
                            minNewMessages?: number;
                        };
                    };
                    useTranscriptRAGCollection?: boolean;
                };
                experimentValues?: { [key: string]: unknown };
                simulatedStartTime?: string;
            };
            AgentResponse: {
                channels?: {
                    direct: boolean;
                    id?: string;
                    name: string;
                    participants?: { id?: string }[];
                    passcode: string | null;
                }[];
                context?: string;
                message: string
                | { [key: string]: unknown };
                messageType?: string;
                visible: boolean;
            };
            AuthTokens: {
                access?: { expires?: string; token?: string };
                refresh?: { expires?: string; token?: string };
            };
            BaseUser: { id?: string };
            Channel: {
                direct: boolean;
                id?: string;
                name: string;
                participants?: { id?: string }[];
                passcode: string | null;
            };
            ChannelConfig: {
                direct?: boolean;
                name: string;
                passcode?: string
                | null;
            };
            Conversation: {
                active?: boolean;
                adapters: {
                    active: boolean;
                    audioChannels?: {
                        agent?: string;
                        config?: { [key: string]: unknown };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    chatChannels?: {
                        agent?: string;
                        config?: { [key: string]: unknown };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    config: { [key: string]: unknown };
                    conversation: string;
                    dmChannels?: {
                        agent?: string;
                        config?: { [key: string]: unknown };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    id?: string;
                    type: string;
                }[];
                agents: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: 0 | 1 | 2 };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: {
                        [key: string]: { description?: string; name?: string }[];
                    };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: {
                        periodic?: {
                            conversationHistorySettings?: {
                                channels?: (...)
                                | (...);
                                count?: (...) | (...);
                                directMessages?: (...) | (...) | (...);
                                endTime?: (...) | (...);
                                timeWindow?: (...) | (...);
                            };
                            timerPeriod: number;
                        };
                        perMessage?: {
                            channels?: string[];
                            conversationHistorySettings?: {
                                channels?: (...)
                                | (...);
                                count?: (...) | (...);
                                directMessages?: (...) | (...) | (...);
                                endTime?: (...) | (...);
                                timeWindow?: (...) | (...);
                            };
                            directMessages?: boolean;
                            minNewMessages?: number;
                        };
                    };
                    useTranscriptRAGCollection?: boolean;
                }[];
                channels: {
                    direct: boolean;
                    id?: string;
                    name: string;
                    participants?: { id?: string }[];
                    passcode: string | null;
                }[];
                conversationType?: string;
                createdAt?: string;
                enableAgents?: boolean;
                enableDMs: string[];
                endTime?: string;
                experimental?: boolean;
                experiments: {
                    agentModifications?: {
                        agent: {
                            active?: boolean;
                            agentConfig?: { [key: string]: unknown };
                            agentEvaluation?: { action: (...) | (...) | (...) };
                            agentType: string;
                            conversation: string;
                            conversationHistorySettings?: {
                                channels?: (...) | (...);
                                count?: (...) | (...);
                                directMessages?: (...) | (...) | (...);
                                endTime?: (...) | (...);
                                timeWindow?: (...) | (...);
                            };
                            description: string;
                            id?: string;
                            instanceName?: string;
                            lastActiveMessageCount?: number;
                            llmModel: string;
                            llmModelOptions?: { [key: string]: unknown };
                            llmPlatform:
                                | "openai"
                                | "ollama"
                                | "perspective"
                                | "bedrock"
                                | "vllm"
                                | "google";
                            llmPlatformOptions?: {
                                baseUrl?: (...)
                                | (...);
                                useKeepAlive: boolean;
                            };
                            llmTemplates?: { [key: string]: string };
                            llmTemplateVars?: { [key: string]: (...)[] };
                            name: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            ragCollectionName?: string;
                            triggers?: { periodic?: (...)
                            | (...); perMessage?: (...) | (...) };
                            useTranscriptRAGCollection?: boolean;
                        };
                        experimentValues?: { [key: string]: unknown };
                        simulatedStartTime?: string;
                    }[];
                    baseConversation: | string
                    | (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    );
                    createdAt: string;
                    createdBy: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    description?: string;
                    executedAt?: string;
                    id?: string;
                    name: string;
                    resultConversation?: | string
                    | (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    );
                    status: "running"
                    | "completed"
                    | "failed"
                    | "not started";
                }[];
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                locked?: boolean;
                messageCount?: number;
                messages: {
                    active?: boolean;
                    body: string | { [key: string]: unknown };
                    bodyType?: string;
                    channels?: string[];
                    conversation: string;
                    count?: number;
                    createdAt?: string;
                    downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    fromAgent: boolean;
                    id?: string;
                    isDeleted?: boolean;
                    owner?: string;
                    parentMessage?: string;
                    pause: boolean;
                    prompt?: {
                        options?: { description?: string; label: string; value: string }[];
                        placeholder?: string;
                        type:
                            | "number"
                            | "text"
                            | "multipleChoice"
                            | "singleChoice"
                            | "date"
                            | "custom";
                        validation?: {
                            max?: number;
                            min?: number;
                            pattern?: string;
                            required?: boolean;
                        };
                    };
                    pseudonym: string;
                    pseudonymId: string;
                    replyCount?: number;
                    source?: string;
                    upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    visible: boolean;
                }[];
                name: string;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                platforms?: string[];
                scheduledTime?: string;
                slug?: string;
                startTime?: string;
                topic: | string
                | {
                    archivable: boolean;
                    archived?: boolean;
                    archiveEmail?: string;
                    conversationCount?: number;
                    conversationCreationAllowed: boolean;
                    conversations: (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    )[];
                    defaultSortAverage?: number;
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    isArchiveNotified?: boolean;
                    isDeleted?: boolean;
                    latestMessageCreatedAt?: string;
                    messageCount?: number;
                    name: string;
                    owner:
                        | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: string[];
                                id?: string;
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                    passcode?: number;
                    private: boolean;
                    slug?: string;
                    votingAllowed: boolean;
                };
                transcript?: {
                    status: "active"
                    | "paused"
                    | "stopped";
                    vectorStore?: {
                        embeddingsModelName?: string;
                        embeddingsPlatform?: string;
                    };
                };
                updatedAt?: string;
            };
            ConversationHistory: {
                end: string;
                messages: {
                    active?: boolean;
                    body: string
                    | { [key: string]: unknown };
                    bodyType?: string;
                    channels?: string[];
                    conversation: string;
                    count?: number;
                    createdAt?: string;
                    downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    fromAgent: boolean;
                    id?: string;
                    isDeleted?: boolean;
                    owner?: string;
                    parentMessage?: string;
                    pause: boolean;
                    prompt?: {
                        options?: { description?: string; label: string; value: string }[];
                        placeholder?: string;
                        type:
                            | "number"
                            | "text"
                            | "multipleChoice"
                            | "singleChoice"
                            | "date"
                            | "custom";
                        validation?: {
                            max?: number;
                            min?: number;
                            pattern?: string;
                            required?: boolean;
                        };
                    };
                    pseudonym: string;
                    pseudonymId: string;
                    replyCount?: number;
                    source?: string;
                    upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    visible: boolean;
                }[];
                start: string;
            };
            ConversationHistorySettings: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            };
            ConversationType: {
                adapters?: {
                    [key: string]: {
                        audioChannels?: {
                            agent?: string;
                            config?: { [key: string]: unknown };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        chatChannels?: {
                            agent?: string;
                            config?: { [key: string]: unknown };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        config?: { [key: string]: unknown };
                        dmChannels?: {
                            agent?: string;
                            config?: { [key: string]: unknown };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        type: string;
                    };
                };
                agents?: { name: string; properties?: { [key: string]: unknown } }[];
                channels?: { direct?: boolean; name: string; passcode?: string | null }[];
                description: string;
                enableDMs?: string[];
                label?: string;
                name: string;
                platforms: { label?: string; name: string }[];
                properties: {
                    default?: string | number | boolean | Record<string, never>;
                    description?: string;
                    itemKey?: string;
                    label?: string;
                    name: string;
                    options?: Record<string, never>[];
                    required: boolean;
                    schema?: Record<string, never>[];
                    type: "string" | "number" | "boolean" | "object" | "enum";
                    validationKeys?: string[];
                }[];
            };
            ConversationTypeProperty: {
                default?: string
                | number
                | boolean
                | Record<string, never>;
                description?: string;
                itemKey?: string;
                label?: string;
                name: string;
                options?: Record<string, never>[];
                required: boolean;
                schema?: Record<string, never>[];
                type: "string" | "number" | "boolean" | "object" | "enum";
                validationKeys?: string[];
            };
            Error: { code?: number; message?: string };
            Experiment: {
                agentModifications?: {
                    agent: {
                        active?: boolean;
                        agentConfig?: { [key: string]: unknown };
                        agentEvaluation?: { action: 0 | 1 | 2 };
                        agentType: string;
                        conversation: string;
                        conversationHistorySettings?: {
                            channels?: string[];
                            count?: number;
                            directMessages?: boolean;
                            endTime?: string;
                            timeWindow?: number;
                        };
                        description: string;
                        id?: string;
                        instanceName?: string;
                        lastActiveMessageCount?: number;
                        llmModel: string;
                        llmModelOptions?: { [key: string]: unknown };
                        llmPlatform:
                            | "openai"
                            | "ollama"
                            | "perspective"
                            | "bedrock"
                            | "vllm"
                            | "google";
                        llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                        llmTemplates?: { [key: string]: string };
                        llmTemplateVars?: {
                            [key: string]: {
                                description?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                        };
                        name: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        ragCollectionName?: string;
                        triggers?: {
                            periodic?: {
                                conversationHistorySettings?: (...)
                                | (...);
                                timerPeriod: number;
                            };
                            perMessage?: {
                                channels?: (...)
                                | (...);
                                conversationHistorySettings?: (...) | (...);
                                directMessages?: (...) | (...) | (...);
                                minNewMessages?: (...) | (...);
                            };
                        };
                        useTranscriptRAGCollection?: boolean;
                    };
                    experimentValues?: { [key: string]: unknown };
                    simulatedStartTime?: string;
                }[];
                baseConversation: | string
                | {
                    active?: boolean;
                    adapters: {
                        active: boolean;
                        audioChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        chatChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        config: { [key: string]: unknown };
                        conversation: string;
                        dmChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        id?: string;
                        type: string;
                    }[];
                    agents: {
                        active?: boolean;
                        agentConfig?: { [key: string]: unknown };
                        agentEvaluation?: { action: 0 | 1 | 2 };
                        agentType: string;
                        conversation: string;
                        conversationHistorySettings?: {
                            channels?: string[];
                            count?: number;
                            directMessages?: boolean;
                            endTime?: string;
                            timeWindow?: number;
                        };
                        description: string;
                        id?: string;
                        instanceName?: string;
                        lastActiveMessageCount?: number;
                        llmModel: string;
                        llmModelOptions?: { [key: string]: unknown };
                        llmPlatform:
                            | "openai"
                            | "ollama"
                            | "perspective"
                            | "bedrock"
                            | "vllm"
                            | "google";
                        llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                        llmTemplates?: { [key: string]: string };
                        llmTemplateVars?: {
                            [key: string]: {
                                description?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                        };
                        name: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        ragCollectionName?: string;
                        triggers?: {
                            periodic?: {
                                conversationHistorySettings?: (...)
                                | (...);
                                timerPeriod: number;
                            };
                            perMessage?: {
                                channels?: (...)
                                | (...);
                                conversationHistorySettings?: (...) | (...);
                                directMessages?: (...) | (...) | (...);
                                minNewMessages?: (...) | (...);
                            };
                        };
                        useTranscriptRAGCollection?: boolean;
                    }[];
                    channels: {
                        direct: boolean;
                        id?: string;
                        name: string;
                        participants?: { id?: string }[];
                        passcode: string | null;
                    }[];
                    conversationType?: string;
                    createdAt?: string;
                    enableAgents?: boolean;
                    enableDMs: string[];
                    endTime?: string;
                    experimental?: boolean;
                    experiments: (
                        { id?: string | undefined; name: string; description?: string | undefined; baseConversation: string | { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; ... 18 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }; ... 5 more .....
                    )[];
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    locked?: boolean;
                    messageCount?: number;
                    messages: {
                        active?: boolean;
                        body: string | { [key: string]: unknown };
                        bodyType?: string;
                        channels?: string[];
                        conversation: string;
                        count?: number;
                        createdAt?: string;
                        downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                        fromAgent: boolean;
                        id?: string;
                        isDeleted?: boolean;
                        owner?: string;
                        parentMessage?: string;
                        pause: boolean;
                        prompt?: {
                            options?: { description?: ...; label: ...; value: ... }[];
                            placeholder?: string;
                            type:
                                | "number"
                                | "text"
                                | "multipleChoice"
                                | "singleChoice"
                                | "date"
                                | "custom";
                            validation?: {
                                max?: (...)
                                | (...);
                                min?: (...) | (...);
                                pattern?: (...) | (...);
                                required?: (...) | (...) | (...);
                            };
                        };
                        pseudonym: string;
                        pseudonymId: string;
                        replyCount?: number;
                        source?: string;
                        upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                        visible: boolean;
                    }[];
                    name: string;
                    owner: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    platforms?: string[];
                    scheduledTime?: string;
                    slug?: string;
                    startTime?: string;
                    topic: | string
                    | {
                        archivable: boolean;
                        archived?: boolean;
                        archiveEmail?: string;
                        conversationCount?: number;
                        conversationCreationAllowed: boolean;
                        conversations: (
                            { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                        )[];
                        defaultSortAverage?: number;
                        followed?: boolean;
                        followers: { conversation: string; topic: string; user: string }[];
                        id?: string;
                        isArchiveNotified?: boolean;
                        isDeleted?: boolean;
                        latestMessageCreatedAt?: string;
                        messageCount?: number;
                        name: string;
                        owner:
                            | string
                            | {
                                dataExportOptOut?: boolean;
                                email?: string;
                                goodReputation?: boolean;
                                id?: string;
                                password: string;
                                pseudonyms: {
                                    active: boolean;
                                    conversations: (...)[];
                                    id?: (...) | (...);
                                    isDeleted: boolean;
                                    pseudonym: string;
                                    token: string;
                                }[];
                                role?: string;
                                username: string;
                            };
                        passcode?: number;
                        private: boolean;
                        slug?: string;
                        votingAllowed: boolean;
                    };
                    transcript?: {
                        status: "active"
                        | "paused"
                        | "stopped";
                        vectorStore?: {
                            embeddingsModelName?: string;
                            embeddingsPlatform?: string;
                        };
                    };
                    updatedAt?: string;
                };
                createdAt: string;
                createdBy: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                description?: string;
                executedAt?: string;
                id?: string;
                name: string;
                resultConversation?: | string
                | {
                    active?: boolean;
                    adapters: {
                        active: boolean;
                        audioChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        chatChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        config: { [key: string]: unknown };
                        conversation: string;
                        dmChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        id?: string;
                        type: string;
                    }[];
                    agents: {
                        active?: boolean;
                        agentConfig?: { [key: string]: unknown };
                        agentEvaluation?: { action: 0 | 1 | 2 };
                        agentType: string;
                        conversation: string;
                        conversationHistorySettings?: {
                            channels?: string[];
                            count?: number;
                            directMessages?: boolean;
                            endTime?: string;
                            timeWindow?: number;
                        };
                        description: string;
                        id?: string;
                        instanceName?: string;
                        lastActiveMessageCount?: number;
                        llmModel: string;
                        llmModelOptions?: { [key: string]: unknown };
                        llmPlatform:
                            | "openai"
                            | "ollama"
                            | "perspective"
                            | "bedrock"
                            | "vllm"
                            | "google";
                        llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                        llmTemplates?: { [key: string]: string };
                        llmTemplateVars?: {
                            [key: string]: {
                                description?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                        };
                        name: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        ragCollectionName?: string;
                        triggers?: {
                            periodic?: {
                                conversationHistorySettings?: (...)
                                | (...);
                                timerPeriod: number;
                            };
                            perMessage?: {
                                channels?: (...)
                                | (...);
                                conversationHistorySettings?: (...) | (...);
                                directMessages?: (...) | (...) | (...);
                                minNewMessages?: (...) | (...);
                            };
                        };
                        useTranscriptRAGCollection?: boolean;
                    }[];
                    channels: {
                        direct: boolean;
                        id?: string;
                        name: string;
                        participants?: { id?: string }[];
                        passcode: string | null;
                    }[];
                    conversationType?: string;
                    createdAt?: string;
                    enableAgents?: boolean;
                    enableDMs: string[];
                    endTime?: string;
                    experimental?: boolean;
                    experiments: (
                        { id?: string | undefined; name: string; description?: string | undefined; baseConversation: string | { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; ... 18 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }; ... 5 more .....
                    )[];
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    locked?: boolean;
                    messageCount?: number;
                    messages: {
                        active?: boolean;
                        body: string | { [key: string]: unknown };
                        bodyType?: string;
                        channels?: string[];
                        conversation: string;
                        count?: number;
                        createdAt?: string;
                        downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                        fromAgent: boolean;
                        id?: string;
                        isDeleted?: boolean;
                        owner?: string;
                        parentMessage?: string;
                        pause: boolean;
                        prompt?: {
                            options?: { description?: ...; label: ...; value: ... }[];
                            placeholder?: string;
                            type:
                                | "number"
                                | "text"
                                | "multipleChoice"
                                | "singleChoice"
                                | "date"
                                | "custom";
                            validation?: {
                                max?: (...)
                                | (...);
                                min?: (...) | (...);
                                pattern?: (...) | (...);
                                required?: (...) | (...) | (...);
                            };
                        };
                        pseudonym: string;
                        pseudonymId: string;
                        replyCount?: number;
                        source?: string;
                        upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                        visible: boolean;
                    }[];
                    name: string;
                    owner: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    platforms?: string[];
                    scheduledTime?: string;
                    slug?: string;
                    startTime?: string;
                    topic: | string
                    | {
                        archivable: boolean;
                        archived?: boolean;
                        archiveEmail?: string;
                        conversationCount?: number;
                        conversationCreationAllowed: boolean;
                        conversations: (
                            { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                        )[];
                        defaultSortAverage?: number;
                        followed?: boolean;
                        followers: { conversation: string; topic: string; user: string }[];
                        id?: string;
                        isArchiveNotified?: boolean;
                        isDeleted?: boolean;
                        latestMessageCreatedAt?: string;
                        messageCount?: number;
                        name: string;
                        owner:
                            | string
                            | {
                                dataExportOptOut?: boolean;
                                email?: string;
                                goodReputation?: boolean;
                                id?: string;
                                password: string;
                                pseudonyms: {
                                    active: boolean;
                                    conversations: (...)[];
                                    id?: (...) | (...);
                                    isDeleted: boolean;
                                    pseudonym: string;
                                    token: string;
                                }[];
                                role?: string;
                                username: string;
                            };
                        passcode?: number;
                        private: boolean;
                        slug?: string;
                        votingAllowed: boolean;
                    };
                    transcript?: {
                        status: "active"
                        | "paused"
                        | "stopped";
                        vectorStore?: {
                            embeddingsModelName?: string;
                            embeddingsPlatform?: string;
                        };
                    };
                    updatedAt?: string;
                };
                status: "running"
                | "completed"
                | "failed"
                | "not started";
            };
            Follower: { conversation: string; topic: string; user: string };
            GenericAgentAnswer: {
                action: 0 | 1 | 2;
                channels: string[];
                explanation: string;
                message: string | { [key: string]: unknown };
                visible: boolean;
            };
            LlmModelDetails: {
                defaultModelOptions?: { [key: string]: unknown };
                description: string;
                label: string;
                llmModel: string;
                llmPlatform: string;
                name: string;
            };
            LlmPlatformDetails: {
                description: string;
                name: string;
                options?: { baseUrl?: string; useKeepAlive: boolean };
            };
            LlmPlatformOptions: { baseUrl?: string; useKeepAlive: boolean };
            Message: {
                active?: boolean;
                body: string | { [key: string]: unknown };
                bodyType?: string;
                channels?: string[];
                conversation: string;
                count?: number;
                createdAt?: string;
                downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                fromAgent: boolean;
                id?: string;
                isDeleted?: boolean;
                owner?: string;
                parentMessage?: string;
                pause: boolean;
                prompt?: {
                    options?: { description?: string; label: string; value: string }[];
                    placeholder?: string;
                    type:
                        | "number"
                        | "text"
                        | "multipleChoice"
                        | "singleChoice"
                        | "date"
                        | "custom";
                    validation?: {
                        max?: number;
                        min?: number;
                        pattern?: string;
                        required?: boolean;
                    };
                };
                pseudonym: string;
                pseudonymId: string;
                replyCount?: number;
                source?: string;
                upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                visible: boolean;
            };
            MessagePrompt: {
                options?: { description?: string; label: string; value: string }[];
                placeholder?: string;
                type:
                    | "number"
                    | "text"
                    | "multipleChoice"
                    | "singleChoice"
                    | "date"
                    | "custom";
                validation?: {
                    max?: number;
                    min?: number;
                    pattern?: string;
                    required?: boolean;
                };
            };
            PaginateResults: {
                limit: number;
                page: number;
                results: Record<string, never>[];
                totalPages: number;
                totalResults: number;
            };
            PeriodicTrigger: {
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                timerPeriod: number;
            };
            PerMessageTrigger: {
                channels?: string[];
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                directMessages?: boolean;
                minNewMessages?: number;
            };
            PlatformConfig: { label?: string; name: string };
            Poll: {
                allowNewChoices: boolean;
                choices?: {
                    id?: string;
                    poll:
                        | string
                        | (
                            { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; username: string; email?: string | undefined; ... 4 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: { ...; }[] | undefined; }
                        );
                    text: string;
                }[];
                choicesVisible: boolean;
                description?: string;
                expirationDate?: string;
                id?: string;
                locked: boolean;
                multiSelect: boolean;
                onlyOwnChoicesVisible: boolean;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                responseCountsVisible: boolean;
                responsesVisible: boolean;
                responsesVisibleToNonParticipants: boolean;
                slug: string;
                threshold?: number;
                title: string;
                topic: | string
                | {
                    archivable: boolean;
                    archived?: boolean;
                    archiveEmail?: string;
                    conversationCount?: number;
                    conversationCreationAllowed: boolean;
                    conversations: {
                        active?: boolean;
                        adapters: {
                            active: boolean;
                            audioChannels?: {
                                agent?: ...;
                                config?: ...;
                                direct?: ...;
                                direction: ...;
                                name?: ...;
                            }[];
                            chatChannels?: {
                                agent?: ...;
                                config?: ...;
                                direct?: ...;
                                direction: ...;
                                name?: ...;
                            }[];
                            config: { [key: string]: unknown };
                            conversation: string;
                            dmChannels?: {
                                agent?: ...;
                                config?: ...;
                                direct?: ...;
                                direction: ...;
                                name?: ...;
                            }[];
                            id?: string;
                            type: string;
                        }[];
                        agents: {
                            active?: boolean;
                            agentConfig?: { [key: string]: unknown };
                            agentEvaluation?: { action: (...) | (...) | (...) };
                            agentType: string;
                            conversation: string;
                            conversationHistorySettings?: {
                                channels?: (...) | (...);
                                count?: (...) | (...);
                                directMessages?: (...) | (...) | (...);
                                endTime?: (...) | (...);
                                timeWindow?: (...) | (...);
                            };
                            description: string;
                            id?: string;
                            instanceName?: string;
                            lastActiveMessageCount?: number;
                            llmModel: string;
                            llmModelOptions?: { [key: string]: unknown };
                            llmPlatform:
                                | "openai"
                                | "ollama"
                                | "perspective"
                                | "bedrock"
                                | "vllm"
                                | "google";
                            llmPlatformOptions?: {
                                baseUrl?: (...)
                                | (...);
                                useKeepAlive: boolean;
                            };
                            llmTemplates?: { [key: string]: string };
                            llmTemplateVars?: { [key: string]: (...)[] };
                            name: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            ragCollectionName?: string;
                            triggers?: { periodic?: (...)
                            | (...); perMessage?: (...) | (...) };
                            useTranscriptRAGCollection?: boolean;
                        }[];
                        channels: {
                            direct: boolean;
                            id?: string;
                            name: string;
                            participants?: { id?: ... }[];
                            passcode: string | null;
                        }[];
                        conversationType?: string;
                        createdAt?: string;
                        enableAgents?: boolean;
                        enableDMs: string[];
                        endTime?: string;
                        experimental?: boolean;
                        experiments: {
                            agentModifications?: {
                                agent: ...;
                                experimentValues?: ...;
                                simulatedStartTime?: ...;
                            }[];
                            baseConversation: | string
                            | (
                                { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                            );
                            createdAt: string;
                            createdBy: | string
                            | {
                                dataExportOptOut?: (...)
                                | (...)
                                | (...);
                                email?: (...) | (...);
                                goodReputation?: (...) | (...) | (...);
                                id?: (...) | (...);
                                password: string;
                                pseudonyms: (...)[];
                                role?: (...) | (...);
                                username: string;
                            };
                            description?: string;
                            executedAt?: string;
                            id?: string;
                            name: string;
                            resultConversation?: | string
                            | (
                                { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                            );
                            status: "running"
                            | "completed"
                            | "failed"
                            | "not started";
                        }[];
                        followed?: boolean;
                        followers: { conversation: string; topic: string; user: string }[];
                        id?: string;
                        locked?: boolean;
                        messageCount?: number;
                        messages: {
                            active?: boolean;
                            body: string | { [key: string]: unknown };
                            bodyType?: string;
                            channels?: string[];
                            conversation: string;
                            count?: number;
                            createdAt?: string;
                            downVotes: {
                                owner?: (...) | (...);
                                pseudonym?: (...) | (...);
                                reason?: (...) | (...);
                            }[];
                            fromAgent: boolean;
                            id?: string;
                            isDeleted?: boolean;
                            owner?: string;
                            parentMessage?: string;
                            pause: boolean;
                            prompt?: {
                                options?: (...)
                                | (...);
                                placeholder?: (...) | (...);
                                type: (...) | (...) | (...) | (...) | (...) | (...);
                                validation?: (...) | (...);
                            };
                            pseudonym: string;
                            pseudonymId: string;
                            replyCount?: number;
                            source?: string;
                            upVotes: {
                                owner?: (...)
                                | (...);
                                pseudonym?: (...) | (...);
                                reason?: (...) | (...);
                            }[];
                            visible: boolean;
                        }[];
                        name: string;
                        owner: | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                        platforms?: string[];
                        scheduledTime?: string;
                        slug?: string;
                        startTime?: string;
                        topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                        transcript?: {
                            status: "active"
                            | "paused"
                            | "stopped";
                            vectorStore?: {
                                embeddingsModelName?: (...) | (...);
                                embeddingsPlatform?: (...) | (...);
                            };
                        };
                        updatedAt?: string;
                    }[];
                    defaultSortAverage?: number;
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    isArchiveNotified?: boolean;
                    isDeleted?: boolean;
                    latestMessageCreatedAt?: string;
                    messageCount?: number;
                    name: string;
                    owner:
                        | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: string[];
                                id?: string;
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                    passcode?: number;
                    private: boolean;
                    slug?: string;
                    votingAllowed: boolean;
                };
                whenResultsVisible: string;
            };
            PollChoice: {
                id?: string;
                poll: | string
                | {
                    allowNewChoices: boolean;
                    choices?: (
                        { id?: string | undefined; text: string; poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; ... 6 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: ...[] | undefined; }; }
                    )[];
                    choicesVisible: boolean;
                    description?: string;
                    expirationDate?: string;
                    id?: string;
                    locked: boolean;
                    multiSelect: boolean;
                    onlyOwnChoicesVisible: boolean;
                    owner: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    responseCountsVisible: boolean;
                    responsesVisible: boolean;
                    responsesVisibleToNonParticipants: boolean;
                    slug: string;
                    threshold?: number;
                    title: string;
                    topic: | string
                    | {
                        archivable: boolean;
                        archived?: boolean;
                        archiveEmail?: string;
                        conversationCount?: number;
                        conversationCreationAllowed: boolean;
                        conversations: {
                            active?: boolean;
                            adapters: {
                                active: boolean;
                                audioChannels?: (...)
                                | (...);
                                chatChannels?: (...) | (...);
                                config: { [key: ...]: ... };
                                conversation: string;
                                dmChannels?: (...) | (...);
                                id?: (...) | (...);
                                type: string;
                            }[];
                            agents: {
                                active?: (...)
                                | (...)
                                | (...);
                                agentConfig?: (...) | (...);
                                agentEvaluation?: (...) | (...);
                                agentType: string;
                                conversation: string;
                                conversationHistorySettings?: (...) | (...);
                                description: string;
                                id?: (...) | (...);
                                instanceName?: (...) | (...);
                                lastActiveMessageCount?: (...) | (...);
                                llmModel: string;
                                llmModelOptions?: (...) | (...);
                                llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                                llmPlatformOptions?: (...) | (...);
                                llmTemplates?: (...) | (...);
                                llmTemplateVars?: (...) | (...);
                                name: string;
                                pseudonyms: (...)[];
                                ragCollectionName?: (...) | (...);
                                triggers?: (...) | (...);
                                useTranscriptRAGCollection?: (...) | (...) | (...);
                            }[];
                            channels: {
                                direct: boolean;
                                id?: (...)
                                | (...);
                                name: string;
                                participants?: (...) | (...);
                                passcode: (...) | (...);
                            }[];
                            conversationType?: string;
                            createdAt?: string;
                            enableAgents?: boolean;
                            enableDMs: string[];
                            endTime?: string;
                            experimental?: boolean;
                            experiments: {
                                agentModifications?: (...)
                                | (...);
                                baseConversation: (...) | (...);
                                createdAt: string;
                                createdBy: (...) | (...);
                                description?: (...) | (...);
                                executedAt?: (...) | (...);
                                id?: (...) | (...);
                                name: string;
                                resultConversation?: (...) | (...) | (...);
                                status: (...) | (...) | (...) | (...);
                            }[];
                            followed?: boolean;
                            followers: { conversation: string; topic: string; user: string }[];
                            id?: string;
                            locked?: boolean;
                            messageCount?: number;
                            messages: {
                                active?: (...) | (...) | (...);
                                body: (...) | (...);
                                bodyType?: (...) | (...);
                                channels?: (...) | (...);
                                conversation: string;
                                count?: (...) | (...);
                                createdAt?: (...) | (...);
                                downVotes: (...)[];
                                fromAgent: boolean;
                                id?: (...) | (...);
                                isDeleted?: (...) | (...) | (...);
                                owner?: (...) | (...);
                                parentMessage?: (...) | (...);
                                pause: boolean;
                                prompt?: (...) | (...);
                                pseudonym: string;
                                pseudonymId: string;
                                replyCount?: (...) | (...);
                                source?: (...) | (...);
                                upVotes: (...)[];
                                visible: boolean;
                            }[];
                            name: string;
                            owner: | string
                            | {
                                dataExportOptOut?: (...)
                                | (...)
                                | (...);
                                email?: (...) | (...);
                                goodReputation?: (...) | (...) | (...);
                                id?: (...) | (...);
                                password: string;
                                pseudonyms: (...)[];
                                role?: (...) | (...);
                                username: string;
                            };
                            platforms?: string[];
                            scheduledTime?: string;
                            slug?: string;
                            startTime?: string;
                            topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                            transcript?: {
                                status: (...)
                                | (...)
                                | (...);
                                vectorStore?: (...) | (...);
                            };
                            updatedAt?: string;
                        }[];
                        defaultSortAverage?: number;
                        followed?: boolean;
                        followers: { conversation: string; topic: string; user: string }[];
                        id?: string;
                        isArchiveNotified?: boolean;
                        isDeleted?: boolean;
                        latestMessageCreatedAt?: string;
                        messageCount?: number;
                        name: string;
                        owner:
                            | string
                            | {
                                dataExportOptOut?: boolean;
                                email?: string;
                                goodReputation?: boolean;
                                id?: string;
                                password: string;
                                pseudonyms: {
                                    active: boolean;
                                    conversations: (...)[];
                                    id?: (...) | (...);
                                    isDeleted: boolean;
                                    pseudonym: string;
                                    token: string;
                                }[];
                                role?: string;
                                username: string;
                            };
                        passcode?: number;
                        private: boolean;
                        slug?: string;
                        votingAllowed: boolean;
                    };
                    whenResultsVisible: string;
                };
                text: string;
            };
            PollResponse: {
                choice: | string
                | {
                    id?: string;
                    poll: | string
                    | {
                        allowNewChoices: boolean;
                        choices?: (
                            { id?: string | undefined; text: string; poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; ... 6 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: ...[] | undefined; }; }
                        )[];
                        choicesVisible: boolean;
                        description?: string;
                        expirationDate?: string;
                        id?: string;
                        locked: boolean;
                        multiSelect: boolean;
                        onlyOwnChoicesVisible: boolean;
                        owner: | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                        responseCountsVisible: boolean;
                        responsesVisible: boolean;
                        responsesVisibleToNonParticipants: boolean;
                        slug: string;
                        threshold?: number;
                        title: string;
                        topic: | string
                        | {
                            archivable: boolean;
                            archived?: boolean;
                            archiveEmail?: string;
                            conversationCount?: number;
                            conversationCreationAllowed: boolean;
                            conversations: {
                                active?: (...)
                                | (...)
                                | (...);
                                adapters: (...)[];
                                agents: (...)[];
                                channels: (...)[];
                                conversationType?: (...) | (...);
                                createdAt?: (...) | (...);
                                enableAgents?: (...) | (...) | (...);
                                enableDMs: (...)[];
                                endTime?: (...) | (...);
                                experimental?: (...) | (...) | (...);
                                experiments: (...)[];
                                followed?: (...) | (...) | (...);
                                followers: (...)[];
                                id?: (...) | (...);
                                locked?: (...) | (...) | (...);
                                messageCount?: (...) | (...);
                                messages: (...)[];
                                name: string;
                                owner: (...) | (...);
                                platforms?: (...) | (...);
                                scheduledTime?: (...) | (...);
                                slug?: (...) | (...);
                                startTime?: (...) | (...);
                                topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                                transcript?: (...) | (...);
                                updatedAt?: (...) | (...);
                            }[];
                            defaultSortAverage?: number;
                            followed?: boolean;
                            followers: { conversation: string; topic: string; user: string }[];
                            id?: string;
                            isArchiveNotified?: boolean;
                            isDeleted?: boolean;
                            latestMessageCreatedAt?: string;
                            messageCount?: number;
                            name: string;
                            owner:
                                | string
                                | {
                                    dataExportOptOut?: (...)
                                    | (...)
                                    | (...);
                                    email?: (...) | (...);
                                    goodReputation?: (...) | (...) | (...);
                                    id?: (...) | (...);
                                    password: string;
                                    pseudonyms: (...)[];
                                    role?: (...) | (...);
                                    username: string;
                                };
                            passcode?: number;
                            private: boolean;
                            slug?: string;
                            votingAllowed: boolean;
                        };
                        whenResultsVisible: string;
                    };
                    text: string;
                };
                id?: string;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                poll: | string
                | {
                    allowNewChoices: boolean;
                    choices?: {
                        id?: string;
                        poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; username: string; email?: string | undefined; ... 4 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: { ...; }[] | undefined; };
                        text: string;
                    }[];
                    choicesVisible: boolean;
                    description?: string;
                    expirationDate?: string;
                    id?: string;
                    locked: boolean;
                    multiSelect: boolean;
                    onlyOwnChoicesVisible: boolean;
                    owner: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    responseCountsVisible: boolean;
                    responsesVisible: boolean;
                    responsesVisibleToNonParticipants: boolean;
                    slug: string;
                    threshold?: number;
                    title: string;
                    topic: | string
                    | {
                        archivable: boolean;
                        archived?: boolean;
                        archiveEmail?: string;
                        conversationCount?: number;
                        conversationCreationAllowed: boolean;
                        conversations: {
                            active?: boolean;
                            adapters: {
                                active: boolean;
                                audioChannels?: (...)
                                | (...);
                                chatChannels?: (...) | (...);
                                config: { [key: ...]: ... };
                                conversation: string;
                                dmChannels?: (...) | (...);
                                id?: (...) | (...);
                                type: string;
                            }[];
                            agents: {
                                active?: (...)
                                | (...)
                                | (...);
                                agentConfig?: (...) | (...);
                                agentEvaluation?: (...) | (...);
                                agentType: string;
                                conversation: string;
                                conversationHistorySettings?: (...) | (...);
                                description: string;
                                id?: (...) | (...);
                                instanceName?: (...) | (...);
                                lastActiveMessageCount?: (...) | (...);
                                llmModel: string;
                                llmModelOptions?: (...) | (...);
                                llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                                llmPlatformOptions?: (...) | (...);
                                llmTemplates?: (...) | (...);
                                llmTemplateVars?: (...) | (...);
                                name: string;
                                pseudonyms: (...)[];
                                ragCollectionName?: (...) | (...);
                                triggers?: (...) | (...);
                                useTranscriptRAGCollection?: (...) | (...) | (...);
                            }[];
                            channels: {
                                direct: boolean;
                                id?: (...)
                                | (...);
                                name: string;
                                participants?: (...) | (...);
                                passcode: (...) | (...);
                            }[];
                            conversationType?: string;
                            createdAt?: string;
                            enableAgents?: boolean;
                            enableDMs: string[];
                            endTime?: string;
                            experimental?: boolean;
                            experiments: {
                                agentModifications?: (...)
                                | (...);
                                baseConversation: (...) | (...);
                                createdAt: string;
                                createdBy: (...) | (...);
                                description?: (...) | (...);
                                executedAt?: (...) | (...);
                                id?: (...) | (...);
                                name: string;
                                resultConversation?: (...) | (...) | (...);
                                status: (...) | (...) | (...) | (...);
                            }[];
                            followed?: boolean;
                            followers: { conversation: string; topic: string; user: string }[];
                            id?: string;
                            locked?: boolean;
                            messageCount?: number;
                            messages: {
                                active?: (...) | (...) | (...);
                                body: (...) | (...);
                                bodyType?: (...) | (...);
                                channels?: (...) | (...);
                                conversation: string;
                                count?: (...) | (...);
                                createdAt?: (...) | (...);
                                downVotes: (...)[];
                                fromAgent: boolean;
                                id?: (...) | (...);
                                isDeleted?: (...) | (...) | (...);
                                owner?: (...) | (...);
                                parentMessage?: (...) | (...);
                                pause: boolean;
                                prompt?: (...) | (...);
                                pseudonym: string;
                                pseudonymId: string;
                                replyCount?: (...) | (...);
                                source?: (...) | (...);
                                upVotes: (...)[];
                                visible: boolean;
                            }[];
                            name: string;
                            owner: | string
                            | {
                                dataExportOptOut?: (...)
                                | (...)
                                | (...);
                                email?: (...) | (...);
                                goodReputation?: (...) | (...) | (...);
                                id?: (...) | (...);
                                password: string;
                                pseudonyms: (...)[];
                                role?: (...) | (...);
                                username: string;
                            };
                            platforms?: string[];
                            scheduledTime?: string;
                            slug?: string;
                            startTime?: string;
                            topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                            transcript?: {
                                status: (...)
                                | (...)
                                | (...);
                                vectorStore?: (...) | (...);
                            };
                            updatedAt?: string;
                        }[];
                        defaultSortAverage?: number;
                        followed?: boolean;
                        followers: { conversation: string; topic: string; user: string }[];
                        id?: string;
                        isArchiveNotified?: boolean;
                        isDeleted?: boolean;
                        latestMessageCreatedAt?: string;
                        messageCount?: number;
                        name: string;
                        owner:
                            | string
                            | {
                                dataExportOptOut?: boolean;
                                email?: string;
                                goodReputation?: boolean;
                                id?: string;
                                password: string;
                                pseudonyms: {
                                    active: boolean;
                                    conversations: (...)[];
                                    id?: (...) | (...);
                                    isDeleted: boolean;
                                    pseudonym: string;
                                    token: string;
                                }[];
                                role?: string;
                                username: string;
                            };
                        passcode?: number;
                        private: boolean;
                        slug?: string;
                        votingAllowed: boolean;
                    };
                    whenResultsVisible: string;
                };
                removed: boolean;
            };
            PromptOption: { description?: string; label: string; value: string };
            Pseudonym: {
                active: boolean;
                conversations: string[];
                id?: string;
                isDeleted: boolean;
                pseudonym: string;
                token: string;
            };
            Token: { expires?: string; token?: string };
            Topic: {
                archivable: boolean;
                archived?: boolean;
                archiveEmail?: string;
                conversationCount?: number;
                conversationCreationAllowed: boolean;
                conversations: {
                    active?: boolean;
                    adapters: {
                        active: boolean;
                        audioChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        chatChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        config: { [key: string]: unknown };
                        conversation: string;
                        dmChannels?: {
                            agent?: string;
                            config?: { [key: ...]: ... };
                            direct?: boolean;
                            direction: "incoming" | "outgoing" | "both";
                            name?: string;
                        }[];
                        id?: string;
                        type: string;
                    }[];
                    agents: {
                        active?: boolean;
                        agentConfig?: { [key: string]: unknown };
                        agentEvaluation?: { action: 0 | 1 | 2 };
                        agentType: string;
                        conversation: string;
                        conversationHistorySettings?: {
                            channels?: string[];
                            count?: number;
                            directMessages?: boolean;
                            endTime?: string;
                            timeWindow?: number;
                        };
                        description: string;
                        id?: string;
                        instanceName?: string;
                        lastActiveMessageCount?: number;
                        llmModel: string;
                        llmModelOptions?: { [key: string]: unknown };
                        llmPlatform:
                            | "openai"
                            | "ollama"
                            | "perspective"
                            | "bedrock"
                            | "vllm"
                            | "google";
                        llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                        llmTemplates?: { [key: string]: string };
                        llmTemplateVars?: {
                            [key: string]: {
                                description?: (...) | (...);
                                name?: (...) | (...);
                            }[];
                        };
                        name: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        ragCollectionName?: string;
                        triggers?: {
                            periodic?: {
                                conversationHistorySettings?: (...)
                                | (...);
                                timerPeriod: number;
                            };
                            perMessage?: {
                                channels?: (...)
                                | (...);
                                conversationHistorySettings?: (...) | (...);
                                directMessages?: (...) | (...) | (...);
                                minNewMessages?: (...) | (...);
                            };
                        };
                        useTranscriptRAGCollection?: boolean;
                    }[];
                    channels: {
                        direct: boolean;
                        id?: string;
                        name: string;
                        participants?: { id?: string }[];
                        passcode: string | null;
                    }[];
                    conversationType?: string;
                    createdAt?: string;
                    enableAgents?: boolean;
                    enableDMs: string[];
                    endTime?: string;
                    experimental?: boolean;
                    experiments: {
                        agentModifications?: {
                            agent: {
                                active?: (...)
                                | (...)
                                | (...);
                                agentConfig?: (...) | (...);
                                agentEvaluation?: (...) | (...);
                                agentType: string;
                                conversation: string;
                                conversationHistorySettings?: (...) | (...);
                                description: string;
                                id?: (...) | (...);
                                instanceName?: (...) | (...);
                                lastActiveMessageCount?: (...) | (...);
                                llmModel: string;
                                llmModelOptions?: (...) | (...);
                                llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                                llmPlatformOptions?: (...) | (...);
                                llmTemplates?: (...) | (...);
                                llmTemplateVars?: (...) | (...);
                                name: string;
                                pseudonyms: (...)[];
                                ragCollectionName?: (...) | (...);
                                triggers?: (...) | (...);
                                useTranscriptRAGCollection?: (...) | (...) | (...);
                            };
                            experimentValues?: { [key: ...]: ... };
                            simulatedStartTime?: string;
                        }[];
                        baseConversation: | string
                        | (
                            { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                        );
                        createdAt: string;
                        createdBy: | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                        description?: string;
                        executedAt?: string;
                        id?: string;
                        name: string;
                        resultConversation?: | string
                        | (
                            { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                        );
                        status: "running"
                        | "completed"
                        | "failed"
                        | "not started";
                    }[];
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    locked?: boolean;
                    messageCount?: number;
                    messages: {
                        active?: boolean;
                        body: string | { [key: string]: unknown };
                        bodyType?: string;
                        channels?: string[];
                        conversation: string;
                        count?: number;
                        createdAt?: string;
                        downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                        fromAgent: boolean;
                        id?: string;
                        isDeleted?: boolean;
                        owner?: string;
                        parentMessage?: string;
                        pause: boolean;
                        prompt?: {
                            options?: { description?: ...; label: ...; value: ... }[];
                            placeholder?: string;
                            type:
                                | "number"
                                | "text"
                                | "multipleChoice"
                                | "singleChoice"
                                | "date"
                                | "custom";
                            validation?: {
                                max?: (...)
                                | (...);
                                min?: (...) | (...);
                                pattern?: (...) | (...);
                                required?: (...) | (...) | (...);
                            };
                        };
                        pseudonym: string;
                        pseudonymId: string;
                        replyCount?: number;
                        source?: string;
                        upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                        visible: boolean;
                    }[];
                    name: string;
                    owner: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    platforms?: string[];
                    scheduledTime?: string;
                    slug?: string;
                    startTime?: string;
                    topic: | string
                    | (
                        { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; messages: { ...; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined...
                    );
                    transcript?: {
                        status: "active"
                        | "paused"
                        | "stopped";
                        vectorStore?: {
                            embeddingsModelName?: string;
                            embeddingsPlatform?: string;
                        };
                    };
                    updatedAt?: string;
                }[];
                defaultSortAverage?: number;
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                isArchiveNotified?: boolean;
                isDeleted?: boolean;
                latestMessageCreatedAt?: string;
                messageCount?: number;
                name: string;
                owner:
                    | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                passcode?: number;
                private: boolean;
                slug?: string;
                votingAllowed: boolean;
            };
            Transcript: {
                status: "active"
                | "paused"
                | "stopped";
                vectorStore?: {
                    embeddingsModelName?: string;
                    embeddingsPlatform?: string;
                };
            };
            Triggers: {
                periodic?: {
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    timerPeriod: number;
                };
                perMessage?: {
                    channels?: string[];
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    directMessages?: boolean;
                    minNewMessages?: number;
                };
            };
            User: {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            };
            Vote: { owner?: string; pseudonym?: string; reason?: string };
        };
    }
    Index

    Properties

    headers: never
    parameters: never
    pathItems: never
    requestBodies: never
    responses: {
        DuplicateEmail: {
            content: { "application/json": { code?: number; message?: string } };
            headers: { [name: string]: unknown };
        };
        Forbidden: {
            content: { "application/json": { code?: number; message?: string } };
            headers: { [name: string]: unknown };
        };
        NotFound: {
            content: { "application/json": { code?: number; message?: string } };
            headers: { [name: string]: unknown };
        };
        Unauthorized: {
            content: { "application/json": { code?: number; message?: string } };
            headers: { [name: string]: unknown };
        };
    }

    Type Declaration

    • DuplicateEmail: {
          content: { "application/json": { code?: number; message?: string } };
          headers: { [name: string]: unknown };
      }

      Email already taken

      • content: { "application/json": { code?: number; message?: string } }
        • application/json: { code?: number; message?: string }
          {
          * "code": 400,
          * "message": "Email already taken"
          * }
      • headers: { [name: string]: unknown }
    • Forbidden: {
          content: { "application/json": { code?: number; message?: string } };
          headers: { [name: string]: unknown };
      }

      Forbidden

      • content: { "application/json": { code?: number; message?: string } }
        • application/json: { code?: number; message?: string }
          {
          * "code": 403,
          * "message": "Forbidden"
          * }
      • headers: { [name: string]: unknown }
    • NotFound: {
          content: { "application/json": { code?: number; message?: string } };
          headers: { [name: string]: unknown };
      }

      Not found

      • content: { "application/json": { code?: number; message?: string } }
        • application/json: { code?: number; message?: string }
          {
          * "code": 404,
          * "message": "Not found"
          * }
      • headers: { [name: string]: unknown }
    • Unauthorized: {
          content: { "application/json": { code?: number; message?: string } };
          headers: { [name: string]: unknown };
      }

      Unauthorized

      • content: { "application/json": { code?: number; message?: string } }
        • application/json: { code?: number; message?: string }
          {
          * "code": 401,
          * "message": "Please log in"
          * }
      • headers: { [name: string]: unknown }
    schemas: {
        Adapter: {
            active: boolean;
            audioChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            chatChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            config: { [key: string]: unknown };
            conversation: string;
            dmChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            id?: string;
            type: string;
        };
        AdapterChannelConfig: {
            agent?: string;
            config?: { [key: string]: unknown };
            direct?: boolean;
            direction: "incoming" | "outgoing" | "both";
            name?: string;
        };
        AdapterConfig: {
            audioChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            chatChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            config?: { [key: string]: unknown };
            dmChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            type: string;
        };
        Agent: {
            active?: boolean;
            agentConfig?: { [key: string]: unknown };
            agentEvaluation?: { action: 0 | 1 | 2 };
            agentType: string;
            conversation: string;
            conversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            };
            description: string;
            id?: string;
            instanceName?: string;
            lastActiveMessageCount?: number;
            llmModel: string;
            llmModelOptions?: { [key: string]: unknown };
            llmPlatform:
                | "openai"
                | "ollama"
                | "perspective"
                | "bedrock"
                | "vllm"
                | "google";
            llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
            llmTemplates?: { [key: string]: string };
            llmTemplateVars?: {
                [key: string]: { description?: string; name?: string }[];
            };
            name: string;
            pseudonyms: {
                active: boolean;
                conversations: string[];
                id?: string;
                isDeleted: boolean;
                pseudonym: string;
                token: string;
            }[];
            ragCollectionName?: string;
            triggers?: {
                periodic?: {
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    timerPeriod: number;
                };
                perMessage?: {
                    channels?: string[];
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    directMessages?: boolean;
                    minNewMessages?: number;
                };
            };
            useTranscriptRAGCollection?: boolean;
        };
        AgentConfig: { name: string; properties?: { [key: string]: unknown } };
        AgentEvaluation: { action: 0 | 1 | 2 };
        AgentModification: {
            agent: {
                active?: boolean;
                agentConfig?: { [key: string]: unknown };
                agentEvaluation?: { action: 0 | 1 | 2 };
                agentType: string;
                conversation: string;
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                description: string;
                id?: string;
                instanceName?: string;
                lastActiveMessageCount?: number;
                llmModel: string;
                llmModelOptions?: { [key: string]: unknown };
                llmPlatform:
                    | "openai"
                    | "ollama"
                    | "perspective"
                    | "bedrock"
                    | "vllm"
                    | "google";
                llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                llmTemplates?: { [key: string]: string };
                llmTemplateVars?: {
                    [key: string]: { description?: string; name?: string }[];
                };
                name: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                ragCollectionName?: string;
                triggers?: {
                    periodic?: {
                        conversationHistorySettings?: {
                            channels?: (...)[];
                            count?: number;
                            directMessages?: boolean;
                            endTime?: string;
                            timeWindow?: number;
                        };
                        timerPeriod: number;
                    };
                    perMessage?: {
                        channels?: string[];
                        conversationHistorySettings?: {
                            channels?: (...)[];
                            count?: number;
                            directMessages?: boolean;
                            endTime?: string;
                            timeWindow?: number;
                        };
                        directMessages?: boolean;
                        minNewMessages?: number;
                    };
                };
                useTranscriptRAGCollection?: boolean;
            };
            experimentValues?: { [key: string]: unknown };
            simulatedStartTime?: string;
        };
        AgentResponse: {
            channels?: {
                direct: boolean;
                id?: string;
                name: string;
                participants?: { id?: string }[];
                passcode: string | null;
            }[];
            context?: string;
            message: string
            | { [key: string]: unknown };
            messageType?: string;
            visible: boolean;
        };
        AuthTokens: {
            access?: { expires?: string; token?: string };
            refresh?: { expires?: string; token?: string };
        };
        BaseUser: { id?: string };
        Channel: {
            direct: boolean;
            id?: string;
            name: string;
            participants?: { id?: string }[];
            passcode: string | null;
        };
        ChannelConfig: { direct?: boolean; name: string; passcode?: string
        | null };
        Conversation: {
            active?: boolean;
            adapters: {
                active: boolean;
                audioChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                chatChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                config: { [key: string]: unknown };
                conversation: string;
                dmChannels?: {
                    agent?: string;
                    config?: { [key: string]: unknown };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                id?: string;
                type: string;
            }[];
            agents: {
                active?: boolean;
                agentConfig?: { [key: string]: unknown };
                agentEvaluation?: { action: 0 | 1 | 2 };
                agentType: string;
                conversation: string;
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                description: string;
                id?: string;
                instanceName?: string;
                lastActiveMessageCount?: number;
                llmModel: string;
                llmModelOptions?: { [key: string]: unknown };
                llmPlatform:
                    | "openai"
                    | "ollama"
                    | "perspective"
                    | "bedrock"
                    | "vllm"
                    | "google";
                llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                llmTemplates?: { [key: string]: string };
                llmTemplateVars?: {
                    [key: string]: { description?: string; name?: string }[];
                };
                name: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                ragCollectionName?: string;
                triggers?: {
                    periodic?: {
                        conversationHistorySettings?: {
                            channels?: (...)
                            | (...);
                            count?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            endTime?: (...) | (...);
                            timeWindow?: (...) | (...);
                        };
                        timerPeriod: number;
                    };
                    perMessage?: {
                        channels?: string[];
                        conversationHistorySettings?: {
                            channels?: (...)
                            | (...);
                            count?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            endTime?: (...) | (...);
                            timeWindow?: (...) | (...);
                        };
                        directMessages?: boolean;
                        minNewMessages?: number;
                    };
                };
                useTranscriptRAGCollection?: boolean;
            }[];
            channels: {
                direct: boolean;
                id?: string;
                name: string;
                participants?: { id?: string }[];
                passcode: string | null;
            }[];
            conversationType?: string;
            createdAt?: string;
            enableAgents?: boolean;
            enableDMs: string[];
            endTime?: string;
            experimental?: boolean;
            experiments: {
                agentModifications?: {
                    agent: {
                        active?: boolean;
                        agentConfig?: { [key: string]: unknown };
                        agentEvaluation?: { action: (...) | (...) | (...) };
                        agentType: string;
                        conversation: string;
                        conversationHistorySettings?: {
                            channels?: (...) | (...);
                            count?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            endTime?: (...) | (...);
                            timeWindow?: (...) | (...);
                        };
                        description: string;
                        id?: string;
                        instanceName?: string;
                        lastActiveMessageCount?: number;
                        llmModel: string;
                        llmModelOptions?: { [key: string]: unknown };
                        llmPlatform:
                            | "openai"
                            | "ollama"
                            | "perspective"
                            | "bedrock"
                            | "vllm"
                            | "google";
                        llmPlatformOptions?: { baseUrl?: (...)
                        | (...); useKeepAlive: boolean };
                        llmTemplates?: { [key: string]: string };
                        llmTemplateVars?: { [key: string]: (...)[] };
                        name: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: (...)[];
                            id?: (...) | (...);
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        ragCollectionName?: string;
                        triggers?: { periodic?: (...)
                        | (...); perMessage?: (...) | (...) };
                        useTranscriptRAGCollection?: boolean;
                    };
                    experimentValues?: { [key: string]: unknown };
                    simulatedStartTime?: string;
                }[];
                baseConversation: | string
                | (
                    { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                );
                createdAt: string;
                createdBy: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                description?: string;
                executedAt?: string;
                id?: string;
                name: string;
                resultConversation?: | string
                | (
                    { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                );
                status: "running"
                | "completed"
                | "failed"
                | "not started";
            }[];
            followed?: boolean;
            followers: { conversation: string; topic: string; user: string }[];
            id?: string;
            locked?: boolean;
            messageCount?: number;
            messages: {
                active?: boolean;
                body: string | { [key: string]: unknown };
                bodyType?: string;
                channels?: string[];
                conversation: string;
                count?: number;
                createdAt?: string;
                downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                fromAgent: boolean;
                id?: string;
                isDeleted?: boolean;
                owner?: string;
                parentMessage?: string;
                pause: boolean;
                prompt?: {
                    options?: { description?: string; label: string; value: string }[];
                    placeholder?: string;
                    type:
                        | "number"
                        | "text"
                        | "multipleChoice"
                        | "singleChoice"
                        | "date"
                        | "custom";
                    validation?: {
                        max?: number;
                        min?: number;
                        pattern?: string;
                        required?: boolean;
                    };
                };
                pseudonym: string;
                pseudonymId: string;
                replyCount?: number;
                source?: string;
                upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                visible: boolean;
            }[];
            name: string;
            owner: | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            };
            platforms?: string[];
            scheduledTime?: string;
            slug?: string;
            startTime?: string;
            topic: | string
            | {
                archivable: boolean;
                archived?: boolean;
                archiveEmail?: string;
                conversationCount?: number;
                conversationCreationAllowed: boolean;
                conversations: (
                    { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                )[];
                defaultSortAverage?: number;
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                isArchiveNotified?: boolean;
                isDeleted?: boolean;
                latestMessageCreatedAt?: string;
                messageCount?: number;
                name: string;
                owner:
                    | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                passcode?: number;
                private: boolean;
                slug?: string;
                votingAllowed: boolean;
            };
            transcript?: {
                status: "active"
                | "paused"
                | "stopped";
                vectorStore?: {
                    embeddingsModelName?: string;
                    embeddingsPlatform?: string;
                };
            };
            updatedAt?: string;
        };
        ConversationHistory: {
            end: string;
            messages: {
                active?: boolean;
                body: string
                | { [key: string]: unknown };
                bodyType?: string;
                channels?: string[];
                conversation: string;
                count?: number;
                createdAt?: string;
                downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                fromAgent: boolean;
                id?: string;
                isDeleted?: boolean;
                owner?: string;
                parentMessage?: string;
                pause: boolean;
                prompt?: {
                    options?: { description?: string; label: string; value: string }[];
                    placeholder?: string;
                    type:
                        | "number"
                        | "text"
                        | "multipleChoice"
                        | "singleChoice"
                        | "date"
                        | "custom";
                    validation?: {
                        max?: number;
                        min?: number;
                        pattern?: string;
                        required?: boolean;
                    };
                };
                pseudonym: string;
                pseudonymId: string;
                replyCount?: number;
                source?: string;
                upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                visible: boolean;
            }[];
            start: string;
        };
        ConversationHistorySettings: {
            channels?: string[];
            count?: number;
            directMessages?: boolean;
            endTime?: string;
            timeWindow?: number;
        };
        ConversationType: {
            adapters?: {
                [key: string]: {
                    audioChannels?: {
                        agent?: string;
                        config?: { [key: string]: unknown };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    chatChannels?: {
                        agent?: string;
                        config?: { [key: string]: unknown };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    config?: { [key: string]: unknown };
                    dmChannels?: {
                        agent?: string;
                        config?: { [key: string]: unknown };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    type: string;
                };
            };
            agents?: { name: string; properties?: { [key: string]: unknown } }[];
            channels?: { direct?: boolean; name: string; passcode?: string | null }[];
            description: string;
            enableDMs?: string[];
            label?: string;
            name: string;
            platforms: { label?: string; name: string }[];
            properties: {
                default?: string | number | boolean | Record<string, never>;
                description?: string;
                itemKey?: string;
                label?: string;
                name: string;
                options?: Record<string, never>[];
                required: boolean;
                schema?: Record<string, never>[];
                type: "string" | "number" | "boolean" | "object" | "enum";
                validationKeys?: string[];
            }[];
        };
        ConversationTypeProperty: {
            default?: string
            | number
            | boolean
            | Record<string, never>;
            description?: string;
            itemKey?: string;
            label?: string;
            name: string;
            options?: Record<string, never>[];
            required: boolean;
            schema?: Record<string, never>[];
            type: "string" | "number" | "boolean" | "object" | "enum";
            validationKeys?: string[];
        };
        Error: { code?: number; message?: string };
        Experiment: {
            agentModifications?: {
                agent: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: 0 | 1 | 2 };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: {
                        [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                    };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: {
                        periodic?: {
                            conversationHistorySettings?: (...)
                            | (...);
                            timerPeriod: number;
                        };
                        perMessage?: {
                            channels?: (...)
                            | (...);
                            conversationHistorySettings?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            minNewMessages?: (...) | (...);
                        };
                    };
                    useTranscriptRAGCollection?: boolean;
                };
                experimentValues?: { [key: string]: unknown };
                simulatedStartTime?: string;
            }[];
            baseConversation: | string
            | {
                active?: boolean;
                adapters: {
                    active: boolean;
                    audioChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    chatChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    config: { [key: string]: unknown };
                    conversation: string;
                    dmChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    id?: string;
                    type: string;
                }[];
                agents: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: 0 | 1 | 2 };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: {
                        [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                    };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: {
                        periodic?: {
                            conversationHistorySettings?: (...)
                            | (...);
                            timerPeriod: number;
                        };
                        perMessage?: {
                            channels?: (...)
                            | (...);
                            conversationHistorySettings?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            minNewMessages?: (...) | (...);
                        };
                    };
                    useTranscriptRAGCollection?: boolean;
                }[];
                channels: {
                    direct: boolean;
                    id?: string;
                    name: string;
                    participants?: { id?: string }[];
                    passcode: string | null;
                }[];
                conversationType?: string;
                createdAt?: string;
                enableAgents?: boolean;
                enableDMs: string[];
                endTime?: string;
                experimental?: boolean;
                experiments: (
                    { id?: string | undefined; name: string; description?: string | undefined; baseConversation: string | { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; ... 18 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }; ... 5 more .....
                )[];
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                locked?: boolean;
                messageCount?: number;
                messages: {
                    active?: boolean;
                    body: string | { [key: string]: unknown };
                    bodyType?: string;
                    channels?: string[];
                    conversation: string;
                    count?: number;
                    createdAt?: string;
                    downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    fromAgent: boolean;
                    id?: string;
                    isDeleted?: boolean;
                    owner?: string;
                    parentMessage?: string;
                    pause: boolean;
                    prompt?: {
                        options?: { description?: ...; label: ...; value: ... }[];
                        placeholder?: string;
                        type:
                            | "number"
                            | "text"
                            | "multipleChoice"
                            | "singleChoice"
                            | "date"
                            | "custom";
                        validation?: {
                            max?: (...)
                            | (...);
                            min?: (...) | (...);
                            pattern?: (...) | (...);
                            required?: (...) | (...) | (...);
                        };
                    };
                    pseudonym: string;
                    pseudonymId: string;
                    replyCount?: number;
                    source?: string;
                    upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    visible: boolean;
                }[];
                name: string;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                platforms?: string[];
                scheduledTime?: string;
                slug?: string;
                startTime?: string;
                topic: | string
                | {
                    archivable: boolean;
                    archived?: boolean;
                    archiveEmail?: string;
                    conversationCount?: number;
                    conversationCreationAllowed: boolean;
                    conversations: (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    )[];
                    defaultSortAverage?: number;
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    isArchiveNotified?: boolean;
                    isDeleted?: boolean;
                    latestMessageCreatedAt?: string;
                    messageCount?: number;
                    name: string;
                    owner:
                        | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                    passcode?: number;
                    private: boolean;
                    slug?: string;
                    votingAllowed: boolean;
                };
                transcript?: {
                    status: "active"
                    | "paused"
                    | "stopped";
                    vectorStore?: {
                        embeddingsModelName?: string;
                        embeddingsPlatform?: string;
                    };
                };
                updatedAt?: string;
            };
            createdAt: string;
            createdBy: | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            };
            description?: string;
            executedAt?: string;
            id?: string;
            name: string;
            resultConversation?: | string
            | {
                active?: boolean;
                adapters: {
                    active: boolean;
                    audioChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    chatChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    config: { [key: string]: unknown };
                    conversation: string;
                    dmChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    id?: string;
                    type: string;
                }[];
                agents: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: 0 | 1 | 2 };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: {
                        [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                    };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: {
                        periodic?: {
                            conversationHistorySettings?: (...)
                            | (...);
                            timerPeriod: number;
                        };
                        perMessage?: {
                            channels?: (...)
                            | (...);
                            conversationHistorySettings?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            minNewMessages?: (...) | (...);
                        };
                    };
                    useTranscriptRAGCollection?: boolean;
                }[];
                channels: {
                    direct: boolean;
                    id?: string;
                    name: string;
                    participants?: { id?: string }[];
                    passcode: string | null;
                }[];
                conversationType?: string;
                createdAt?: string;
                enableAgents?: boolean;
                enableDMs: string[];
                endTime?: string;
                experimental?: boolean;
                experiments: (
                    { id?: string | undefined; name: string; description?: string | undefined; baseConversation: string | { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; ... 18 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }; ... 5 more .....
                )[];
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                locked?: boolean;
                messageCount?: number;
                messages: {
                    active?: boolean;
                    body: string | { [key: string]: unknown };
                    bodyType?: string;
                    channels?: string[];
                    conversation: string;
                    count?: number;
                    createdAt?: string;
                    downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    fromAgent: boolean;
                    id?: string;
                    isDeleted?: boolean;
                    owner?: string;
                    parentMessage?: string;
                    pause: boolean;
                    prompt?: {
                        options?: { description?: ...; label: ...; value: ... }[];
                        placeholder?: string;
                        type:
                            | "number"
                            | "text"
                            | "multipleChoice"
                            | "singleChoice"
                            | "date"
                            | "custom";
                        validation?: {
                            max?: (...)
                            | (...);
                            min?: (...) | (...);
                            pattern?: (...) | (...);
                            required?: (...) | (...) | (...);
                        };
                    };
                    pseudonym: string;
                    pseudonymId: string;
                    replyCount?: number;
                    source?: string;
                    upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    visible: boolean;
                }[];
                name: string;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                platforms?: string[];
                scheduledTime?: string;
                slug?: string;
                startTime?: string;
                topic: | string
                | {
                    archivable: boolean;
                    archived?: boolean;
                    archiveEmail?: string;
                    conversationCount?: number;
                    conversationCreationAllowed: boolean;
                    conversations: (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    )[];
                    defaultSortAverage?: number;
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    isArchiveNotified?: boolean;
                    isDeleted?: boolean;
                    latestMessageCreatedAt?: string;
                    messageCount?: number;
                    name: string;
                    owner:
                        | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                    passcode?: number;
                    private: boolean;
                    slug?: string;
                    votingAllowed: boolean;
                };
                transcript?: {
                    status: "active"
                    | "paused"
                    | "stopped";
                    vectorStore?: {
                        embeddingsModelName?: string;
                        embeddingsPlatform?: string;
                    };
                };
                updatedAt?: string;
            };
            status: "running"
            | "completed"
            | "failed"
            | "not started";
        };
        Follower: { conversation: string; topic: string; user: string };
        GenericAgentAnswer: {
            action: 0 | 1 | 2;
            channels: string[];
            explanation: string;
            message: string | { [key: string]: unknown };
            visible: boolean;
        };
        LlmModelDetails: {
            defaultModelOptions?: { [key: string]: unknown };
            description: string;
            label: string;
            llmModel: string;
            llmPlatform: string;
            name: string;
        };
        LlmPlatformDetails: {
            description: string;
            name: string;
            options?: { baseUrl?: string; useKeepAlive: boolean };
        };
        LlmPlatformOptions: { baseUrl?: string; useKeepAlive: boolean };
        Message: {
            active?: boolean;
            body: string | { [key: string]: unknown };
            bodyType?: string;
            channels?: string[];
            conversation: string;
            count?: number;
            createdAt?: string;
            downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
            fromAgent: boolean;
            id?: string;
            isDeleted?: boolean;
            owner?: string;
            parentMessage?: string;
            pause: boolean;
            prompt?: {
                options?: { description?: string; label: string; value: string }[];
                placeholder?: string;
                type:
                    | "number"
                    | "text"
                    | "multipleChoice"
                    | "singleChoice"
                    | "date"
                    | "custom";
                validation?: {
                    max?: number;
                    min?: number;
                    pattern?: string;
                    required?: boolean;
                };
            };
            pseudonym: string;
            pseudonymId: string;
            replyCount?: number;
            source?: string;
            upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
            visible: boolean;
        };
        MessagePrompt: {
            options?: { description?: string; label: string; value: string }[];
            placeholder?: string;
            type:
                | "number"
                | "text"
                | "multipleChoice"
                | "singleChoice"
                | "date"
                | "custom";
            validation?: {
                max?: number;
                min?: number;
                pattern?: string;
                required?: boolean;
            };
        };
        PaginateResults: {
            limit: number;
            page: number;
            results: Record<string, never>[];
            totalPages: number;
            totalResults: number;
        };
        PeriodicTrigger: {
            conversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            };
            timerPeriod: number;
        };
        PerMessageTrigger: {
            channels?: string[];
            conversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            };
            directMessages?: boolean;
            minNewMessages?: number;
        };
        PlatformConfig: { label?: string; name: string };
        Poll: {
            allowNewChoices: boolean;
            choices?: {
                id?: string;
                poll:
                    | string
                    | (
                        { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; username: string; email?: string | undefined; ... 4 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: { ...; }[] | undefined; }
                    );
                text: string;
            }[];
            choicesVisible: boolean;
            description?: string;
            expirationDate?: string;
            id?: string;
            locked: boolean;
            multiSelect: boolean;
            onlyOwnChoicesVisible: boolean;
            owner: | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            };
            responseCountsVisible: boolean;
            responsesVisible: boolean;
            responsesVisibleToNonParticipants: boolean;
            slug: string;
            threshold?: number;
            title: string;
            topic: | string
            | {
                archivable: boolean;
                archived?: boolean;
                archiveEmail?: string;
                conversationCount?: number;
                conversationCreationAllowed: boolean;
                conversations: {
                    active?: boolean;
                    adapters: {
                        active: boolean;
                        audioChannels?: {
                            agent?: ...;
                            config?: ...;
                            direct?: ...;
                            direction: ...;
                            name?: ...;
                        }[];
                        chatChannels?: {
                            agent?: ...;
                            config?: ...;
                            direct?: ...;
                            direction: ...;
                            name?: ...;
                        }[];
                        config: { [key: string]: unknown };
                        conversation: string;
                        dmChannels?: {
                            agent?: ...;
                            config?: ...;
                            direct?: ...;
                            direction: ...;
                            name?: ...;
                        }[];
                        id?: string;
                        type: string;
                    }[];
                    agents: {
                        active?: boolean;
                        agentConfig?: { [key: string]: unknown };
                        agentEvaluation?: { action: (...) | (...) | (...) };
                        agentType: string;
                        conversation: string;
                        conversationHistorySettings?: {
                            channels?: (...) | (...);
                            count?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            endTime?: (...) | (...);
                            timeWindow?: (...) | (...);
                        };
                        description: string;
                        id?: string;
                        instanceName?: string;
                        lastActiveMessageCount?: number;
                        llmModel: string;
                        llmModelOptions?: { [key: string]: unknown };
                        llmPlatform:
                            | "openai"
                            | "ollama"
                            | "perspective"
                            | "bedrock"
                            | "vllm"
                            | "google";
                        llmPlatformOptions?: { baseUrl?: (...)
                        | (...); useKeepAlive: boolean };
                        llmTemplates?: { [key: string]: string };
                        llmTemplateVars?: { [key: string]: (...)[] };
                        name: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: (...)[];
                            id?: (...) | (...);
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        ragCollectionName?: string;
                        triggers?: { periodic?: (...)
                        | (...); perMessage?: (...) | (...) };
                        useTranscriptRAGCollection?: boolean;
                    }[];
                    channels: {
                        direct: boolean;
                        id?: string;
                        name: string;
                        participants?: { id?: ... }[];
                        passcode: string | null;
                    }[];
                    conversationType?: string;
                    createdAt?: string;
                    enableAgents?: boolean;
                    enableDMs: string[];
                    endTime?: string;
                    experimental?: boolean;
                    experiments: {
                        agentModifications?: {
                            agent: ...;
                            experimentValues?: ...;
                            simulatedStartTime?: ...;
                        }[];
                        baseConversation: | string
                        | (
                            { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                        );
                        createdAt: string;
                        createdBy: | string
                        | {
                            dataExportOptOut?: (...)
                            | (...)
                            | (...);
                            email?: (...) | (...);
                            goodReputation?: (...) | (...) | (...);
                            id?: (...) | (...);
                            password: string;
                            pseudonyms: (...)[];
                            role?: (...) | (...);
                            username: string;
                        };
                        description?: string;
                        executedAt?: string;
                        id?: string;
                        name: string;
                        resultConversation?: | string
                        | (
                            { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                        );
                        status: "running"
                        | "completed"
                        | "failed"
                        | "not started";
                    }[];
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    locked?: boolean;
                    messageCount?: number;
                    messages: {
                        active?: boolean;
                        body: string | { [key: string]: unknown };
                        bodyType?: string;
                        channels?: string[];
                        conversation: string;
                        count?: number;
                        createdAt?: string;
                        downVotes: {
                            owner?: (...) | (...);
                            pseudonym?: (...) | (...);
                            reason?: (...) | (...);
                        }[];
                        fromAgent: boolean;
                        id?: string;
                        isDeleted?: boolean;
                        owner?: string;
                        parentMessage?: string;
                        pause: boolean;
                        prompt?: {
                            options?: (...)
                            | (...);
                            placeholder?: (...) | (...);
                            type: (...) | (...) | (...) | (...) | (...) | (...);
                            validation?: (...) | (...);
                        };
                        pseudonym: string;
                        pseudonymId: string;
                        replyCount?: number;
                        source?: string;
                        upVotes: {
                            owner?: (...)
                            | (...);
                            pseudonym?: (...) | (...);
                            reason?: (...) | (...);
                        }[];
                        visible: boolean;
                    }[];
                    name: string;
                    owner: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: (...)[];
                            id?: (...) | (...);
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    platforms?: string[];
                    scheduledTime?: string;
                    slug?: string;
                    startTime?: string;
                    topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                    transcript?: {
                        status: "active"
                        | "paused"
                        | "stopped";
                        vectorStore?: {
                            embeddingsModelName?: (...) | (...);
                            embeddingsPlatform?: (...) | (...);
                        };
                    };
                    updatedAt?: string;
                }[];
                defaultSortAverage?: number;
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                isArchiveNotified?: boolean;
                isDeleted?: boolean;
                latestMessageCreatedAt?: string;
                messageCount?: number;
                name: string;
                owner:
                    | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                passcode?: number;
                private: boolean;
                slug?: string;
                votingAllowed: boolean;
            };
            whenResultsVisible: string;
        };
        PollChoice: {
            id?: string;
            poll: | string
            | {
                allowNewChoices: boolean;
                choices?: (
                    { id?: string | undefined; text: string; poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; ... 6 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: ...[] | undefined; }; }
                )[];
                choicesVisible: boolean;
                description?: string;
                expirationDate?: string;
                id?: string;
                locked: boolean;
                multiSelect: boolean;
                onlyOwnChoicesVisible: boolean;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                responseCountsVisible: boolean;
                responsesVisible: boolean;
                responsesVisibleToNonParticipants: boolean;
                slug: string;
                threshold?: number;
                title: string;
                topic: | string
                | {
                    archivable: boolean;
                    archived?: boolean;
                    archiveEmail?: string;
                    conversationCount?: number;
                    conversationCreationAllowed: boolean;
                    conversations: {
                        active?: boolean;
                        adapters: {
                            active: boolean;
                            audioChannels?: (...)
                            | (...);
                            chatChannels?: (...) | (...);
                            config: { [key: ...]: ... };
                            conversation: string;
                            dmChannels?: (...) | (...);
                            id?: (...) | (...);
                            type: string;
                        }[];
                        agents: {
                            active?: (...)
                            | (...)
                            | (...);
                            agentConfig?: (...) | (...);
                            agentEvaluation?: (...) | (...);
                            agentType: string;
                            conversation: string;
                            conversationHistorySettings?: (...) | (...);
                            description: string;
                            id?: (...) | (...);
                            instanceName?: (...) | (...);
                            lastActiveMessageCount?: (...) | (...);
                            llmModel: string;
                            llmModelOptions?: (...) | (...);
                            llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                            llmPlatformOptions?: (...) | (...);
                            llmTemplates?: (...) | (...);
                            llmTemplateVars?: (...) | (...);
                            name: string;
                            pseudonyms: (...)[];
                            ragCollectionName?: (...) | (...);
                            triggers?: (...) | (...);
                            useTranscriptRAGCollection?: (...) | (...) | (...);
                        }[];
                        channels: {
                            direct: boolean;
                            id?: (...)
                            | (...);
                            name: string;
                            participants?: (...) | (...);
                            passcode: (...) | (...);
                        }[];
                        conversationType?: string;
                        createdAt?: string;
                        enableAgents?: boolean;
                        enableDMs: string[];
                        endTime?: string;
                        experimental?: boolean;
                        experiments: {
                            agentModifications?: (...)
                            | (...);
                            baseConversation: (...) | (...);
                            createdAt: string;
                            createdBy: (...) | (...);
                            description?: (...) | (...);
                            executedAt?: (...) | (...);
                            id?: (...) | (...);
                            name: string;
                            resultConversation?: (...) | (...) | (...);
                            status: (...) | (...) | (...) | (...);
                        }[];
                        followed?: boolean;
                        followers: { conversation: string; topic: string; user: string }[];
                        id?: string;
                        locked?: boolean;
                        messageCount?: number;
                        messages: {
                            active?: (...) | (...) | (...);
                            body: (...) | (...);
                            bodyType?: (...) | (...);
                            channels?: (...) | (...);
                            conversation: string;
                            count?: (...) | (...);
                            createdAt?: (...) | (...);
                            downVotes: (...)[];
                            fromAgent: boolean;
                            id?: (...) | (...);
                            isDeleted?: (...) | (...) | (...);
                            owner?: (...) | (...);
                            parentMessage?: (...) | (...);
                            pause: boolean;
                            prompt?: (...) | (...);
                            pseudonym: string;
                            pseudonymId: string;
                            replyCount?: (...) | (...);
                            source?: (...) | (...);
                            upVotes: (...)[];
                            visible: boolean;
                        }[];
                        name: string;
                        owner: | string
                        | {
                            dataExportOptOut?: (...)
                            | (...)
                            | (...);
                            email?: (...) | (...);
                            goodReputation?: (...) | (...) | (...);
                            id?: (...) | (...);
                            password: string;
                            pseudonyms: (...)[];
                            role?: (...) | (...);
                            username: string;
                        };
                        platforms?: string[];
                        scheduledTime?: string;
                        slug?: string;
                        startTime?: string;
                        topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                        transcript?: {
                            status: (...)
                            | (...)
                            | (...);
                            vectorStore?: (...) | (...);
                        };
                        updatedAt?: string;
                    }[];
                    defaultSortAverage?: number;
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    isArchiveNotified?: boolean;
                    isDeleted?: boolean;
                    latestMessageCreatedAt?: string;
                    messageCount?: number;
                    name: string;
                    owner:
                        | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                    passcode?: number;
                    private: boolean;
                    slug?: string;
                    votingAllowed: boolean;
                };
                whenResultsVisible: string;
            };
            text: string;
        };
        PollResponse: {
            choice: | string
            | {
                id?: string;
                poll: | string
                | {
                    allowNewChoices: boolean;
                    choices?: (
                        { id?: string | undefined; text: string; poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; ... 6 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: ...[] | undefined; }; }
                    )[];
                    choicesVisible: boolean;
                    description?: string;
                    expirationDate?: string;
                    id?: string;
                    locked: boolean;
                    multiSelect: boolean;
                    onlyOwnChoicesVisible: boolean;
                    owner: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: (...)[];
                            id?: (...) | (...);
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    responseCountsVisible: boolean;
                    responsesVisible: boolean;
                    responsesVisibleToNonParticipants: boolean;
                    slug: string;
                    threshold?: number;
                    title: string;
                    topic: | string
                    | {
                        archivable: boolean;
                        archived?: boolean;
                        archiveEmail?: string;
                        conversationCount?: number;
                        conversationCreationAllowed: boolean;
                        conversations: {
                            active?: (...)
                            | (...)
                            | (...);
                            adapters: (...)[];
                            agents: (...)[];
                            channels: (...)[];
                            conversationType?: (...) | (...);
                            createdAt?: (...) | (...);
                            enableAgents?: (...) | (...) | (...);
                            enableDMs: (...)[];
                            endTime?: (...) | (...);
                            experimental?: (...) | (...) | (...);
                            experiments: (...)[];
                            followed?: (...) | (...) | (...);
                            followers: (...)[];
                            id?: (...) | (...);
                            locked?: (...) | (...) | (...);
                            messageCount?: (...) | (...);
                            messages: (...)[];
                            name: string;
                            owner: (...) | (...);
                            platforms?: (...) | (...);
                            scheduledTime?: (...) | (...);
                            slug?: (...) | (...);
                            startTime?: (...) | (...);
                            topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                            transcript?: (...) | (...);
                            updatedAt?: (...) | (...);
                        }[];
                        defaultSortAverage?: number;
                        followed?: boolean;
                        followers: { conversation: string; topic: string; user: string }[];
                        id?: string;
                        isArchiveNotified?: boolean;
                        isDeleted?: boolean;
                        latestMessageCreatedAt?: string;
                        messageCount?: number;
                        name: string;
                        owner:
                            | string
                            | {
                                dataExportOptOut?: (...)
                                | (...)
                                | (...);
                                email?: (...) | (...);
                                goodReputation?: (...) | (...) | (...);
                                id?: (...) | (...);
                                password: string;
                                pseudonyms: (...)[];
                                role?: (...) | (...);
                                username: string;
                            };
                        passcode?: number;
                        private: boolean;
                        slug?: string;
                        votingAllowed: boolean;
                    };
                    whenResultsVisible: string;
                };
                text: string;
            };
            id?: string;
            owner: | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            };
            poll: | string
            | {
                allowNewChoices: boolean;
                choices?: {
                    id?: string;
                    poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; username: string; email?: string | undefined; ... 4 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: { ...; }[] | undefined; };
                    text: string;
                }[];
                choicesVisible: boolean;
                description?: string;
                expirationDate?: string;
                id?: string;
                locked: boolean;
                multiSelect: boolean;
                onlyOwnChoicesVisible: boolean;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                responseCountsVisible: boolean;
                responsesVisible: boolean;
                responsesVisibleToNonParticipants: boolean;
                slug: string;
                threshold?: number;
                title: string;
                topic: | string
                | {
                    archivable: boolean;
                    archived?: boolean;
                    archiveEmail?: string;
                    conversationCount?: number;
                    conversationCreationAllowed: boolean;
                    conversations: {
                        active?: boolean;
                        adapters: {
                            active: boolean;
                            audioChannels?: (...)
                            | (...);
                            chatChannels?: (...) | (...);
                            config: { [key: ...]: ... };
                            conversation: string;
                            dmChannels?: (...) | (...);
                            id?: (...) | (...);
                            type: string;
                        }[];
                        agents: {
                            active?: (...)
                            | (...)
                            | (...);
                            agentConfig?: (...) | (...);
                            agentEvaluation?: (...) | (...);
                            agentType: string;
                            conversation: string;
                            conversationHistorySettings?: (...) | (...);
                            description: string;
                            id?: (...) | (...);
                            instanceName?: (...) | (...);
                            lastActiveMessageCount?: (...) | (...);
                            llmModel: string;
                            llmModelOptions?: (...) | (...);
                            llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                            llmPlatformOptions?: (...) | (...);
                            llmTemplates?: (...) | (...);
                            llmTemplateVars?: (...) | (...);
                            name: string;
                            pseudonyms: (...)[];
                            ragCollectionName?: (...) | (...);
                            triggers?: (...) | (...);
                            useTranscriptRAGCollection?: (...) | (...) | (...);
                        }[];
                        channels: {
                            direct: boolean;
                            id?: (...)
                            | (...);
                            name: string;
                            participants?: (...) | (...);
                            passcode: (...) | (...);
                        }[];
                        conversationType?: string;
                        createdAt?: string;
                        enableAgents?: boolean;
                        enableDMs: string[];
                        endTime?: string;
                        experimental?: boolean;
                        experiments: {
                            agentModifications?: (...)
                            | (...);
                            baseConversation: (...) | (...);
                            createdAt: string;
                            createdBy: (...) | (...);
                            description?: (...) | (...);
                            executedAt?: (...) | (...);
                            id?: (...) | (...);
                            name: string;
                            resultConversation?: (...) | (...) | (...);
                            status: (...) | (...) | (...) | (...);
                        }[];
                        followed?: boolean;
                        followers: { conversation: string; topic: string; user: string }[];
                        id?: string;
                        locked?: boolean;
                        messageCount?: number;
                        messages: {
                            active?: (...) | (...) | (...);
                            body: (...) | (...);
                            bodyType?: (...) | (...);
                            channels?: (...) | (...);
                            conversation: string;
                            count?: (...) | (...);
                            createdAt?: (...) | (...);
                            downVotes: (...)[];
                            fromAgent: boolean;
                            id?: (...) | (...);
                            isDeleted?: (...) | (...) | (...);
                            owner?: (...) | (...);
                            parentMessage?: (...) | (...);
                            pause: boolean;
                            prompt?: (...) | (...);
                            pseudonym: string;
                            pseudonymId: string;
                            replyCount?: (...) | (...);
                            source?: (...) | (...);
                            upVotes: (...)[];
                            visible: boolean;
                        }[];
                        name: string;
                        owner: | string
                        | {
                            dataExportOptOut?: (...)
                            | (...)
                            | (...);
                            email?: (...) | (...);
                            goodReputation?: (...) | (...) | (...);
                            id?: (...) | (...);
                            password: string;
                            pseudonyms: (...)[];
                            role?: (...) | (...);
                            username: string;
                        };
                        platforms?: string[];
                        scheduledTime?: string;
                        slug?: string;
                        startTime?: string;
                        topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                        transcript?: {
                            status: (...)
                            | (...)
                            | (...);
                            vectorStore?: (...) | (...);
                        };
                        updatedAt?: string;
                    }[];
                    defaultSortAverage?: number;
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    isArchiveNotified?: boolean;
                    isDeleted?: boolean;
                    latestMessageCreatedAt?: string;
                    messageCount?: number;
                    name: string;
                    owner:
                        | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                    passcode?: number;
                    private: boolean;
                    slug?: string;
                    votingAllowed: boolean;
                };
                whenResultsVisible: string;
            };
            removed: boolean;
        };
        PromptOption: { description?: string; label: string; value: string };
        Pseudonym: {
            active: boolean;
            conversations: string[];
            id?: string;
            isDeleted: boolean;
            pseudonym: string;
            token: string;
        };
        Token: { expires?: string; token?: string };
        Topic: {
            archivable: boolean;
            archived?: boolean;
            archiveEmail?: string;
            conversationCount?: number;
            conversationCreationAllowed: boolean;
            conversations: {
                active?: boolean;
                adapters: {
                    active: boolean;
                    audioChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    chatChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    config: { [key: string]: unknown };
                    conversation: string;
                    dmChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    id?: string;
                    type: string;
                }[];
                agents: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: 0 | 1 | 2 };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: {
                        [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                    };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: {
                        periodic?: {
                            conversationHistorySettings?: (...)
                            | (...);
                            timerPeriod: number;
                        };
                        perMessage?: {
                            channels?: (...)
                            | (...);
                            conversationHistorySettings?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            minNewMessages?: (...) | (...);
                        };
                    };
                    useTranscriptRAGCollection?: boolean;
                }[];
                channels: {
                    direct: boolean;
                    id?: string;
                    name: string;
                    participants?: { id?: string }[];
                    passcode: string | null;
                }[];
                conversationType?: string;
                createdAt?: string;
                enableAgents?: boolean;
                enableDMs: string[];
                endTime?: string;
                experimental?: boolean;
                experiments: {
                    agentModifications?: {
                        agent: {
                            active?: (...)
                            | (...)
                            | (...);
                            agentConfig?: (...) | (...);
                            agentEvaluation?: (...) | (...);
                            agentType: string;
                            conversation: string;
                            conversationHistorySettings?: (...) | (...);
                            description: string;
                            id?: (...) | (...);
                            instanceName?: (...) | (...);
                            lastActiveMessageCount?: (...) | (...);
                            llmModel: string;
                            llmModelOptions?: (...) | (...);
                            llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                            llmPlatformOptions?: (...) | (...);
                            llmTemplates?: (...) | (...);
                            llmTemplateVars?: (...) | (...);
                            name: string;
                            pseudonyms: (...)[];
                            ragCollectionName?: (...) | (...);
                            triggers?: (...) | (...);
                            useTranscriptRAGCollection?: (...) | (...) | (...);
                        };
                        experimentValues?: { [key: ...]: ... };
                        simulatedStartTime?: string;
                    }[];
                    baseConversation: | string
                    | (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    );
                    createdAt: string;
                    createdBy: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: (...)[];
                            id?: (...) | (...);
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    description?: string;
                    executedAt?: string;
                    id?: string;
                    name: string;
                    resultConversation?: | string
                    | (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    );
                    status: "running"
                    | "completed"
                    | "failed"
                    | "not started";
                }[];
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                locked?: boolean;
                messageCount?: number;
                messages: {
                    active?: boolean;
                    body: string | { [key: string]: unknown };
                    bodyType?: string;
                    channels?: string[];
                    conversation: string;
                    count?: number;
                    createdAt?: string;
                    downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    fromAgent: boolean;
                    id?: string;
                    isDeleted?: boolean;
                    owner?: string;
                    parentMessage?: string;
                    pause: boolean;
                    prompt?: {
                        options?: { description?: ...; label: ...; value: ... }[];
                        placeholder?: string;
                        type:
                            | "number"
                            | "text"
                            | "multipleChoice"
                            | "singleChoice"
                            | "date"
                            | "custom";
                        validation?: {
                            max?: (...)
                            | (...);
                            min?: (...) | (...);
                            pattern?: (...) | (...);
                            required?: (...) | (...) | (...);
                        };
                    };
                    pseudonym: string;
                    pseudonymId: string;
                    replyCount?: number;
                    source?: string;
                    upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    visible: boolean;
                }[];
                name: string;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                platforms?: string[];
                scheduledTime?: string;
                slug?: string;
                startTime?: string;
                topic: | string
                | (
                    { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; messages: { ...; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined...
                );
                transcript?: {
                    status: "active"
                    | "paused"
                    | "stopped";
                    vectorStore?: {
                        embeddingsModelName?: string;
                        embeddingsPlatform?: string;
                    };
                };
                updatedAt?: string;
            }[];
            defaultSortAverage?: number;
            followed?: boolean;
            followers: { conversation: string; topic: string; user: string }[];
            id?: string;
            isArchiveNotified?: boolean;
            isDeleted?: boolean;
            latestMessageCreatedAt?: string;
            messageCount?: number;
            name: string;
            owner:
                | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
            passcode?: number;
            private: boolean;
            slug?: string;
            votingAllowed: boolean;
        };
        Transcript: {
            status: "active"
            | "paused"
            | "stopped";
            vectorStore?: {
                embeddingsModelName?: string;
                embeddingsPlatform?: string;
            };
        };
        Triggers: {
            periodic?: {
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                timerPeriod: number;
            };
            perMessage?: {
                channels?: string[];
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                directMessages?: boolean;
                minNewMessages?: number;
            };
        };
        User: {
            dataExportOptOut?: boolean;
            email?: string;
            goodReputation?: boolean;
            id?: string;
            password: string;
            pseudonyms: {
                active: boolean;
                conversations: string[];
                id?: string;
                isDeleted: boolean;
                pseudonym: string;
                token: string;
            }[];
            role?: string;
            username: string;
        };
        Vote: { owner?: string; pseudonym?: string; reason?: string };
    }

    Type Declaration

    • Adapter: {
          active: boolean;
          audioChannels?: {
              agent?: string;
              config?: { [key: string]: unknown };
              direct?: boolean;
              direction: "incoming" | "outgoing" | "both";
              name?: string;
          }[];
          chatChannels?: {
              agent?: string;
              config?: { [key: string]: unknown };
              direct?: boolean;
              direction: "incoming" | "outgoing" | "both";
              name?: string;
          }[];
          config: { [key: string]: unknown };
          conversation: string;
          dmChannels?: {
              agent?: string;
              config?: { [key: string]: unknown };
              direct?: boolean;
              direction: "incoming" | "outgoing" | "both";
              name?: string;
          }[];
          id?: string;
          type: string;
      }
      • active: boolean
      • OptionalaudioChannels?: {
            agent?: string;
            config?: { [key: string]: unknown };
            direct?: boolean;
            direction: "incoming" | "outgoing" | "both";
            name?: string;
        }[]
      • OptionalchatChannels?: {
            agent?: string;
            config?: { [key: string]: unknown };
            direct?: boolean;
            direction: "incoming" | "outgoing" | "both";
            name?: string;
        }[]
      • config: { [key: string]: unknown }
      • conversation: string

        Reference to Conversation ID

      • OptionaldmChannels?: {
            agent?: string;
            config?: { [key: string]: unknown };
            direct?: boolean;
            direction: "incoming" | "outgoing" | "both";
            name?: string;
        }[]
      • Optionalid?: string
      • type: string
    • AdapterChannelConfig: {
          agent?: string;
          config?: { [key: string]: unknown };
          direct?: boolean;
          direction: "incoming" | "outgoing" | "both";
          name?: string;
      }
      • Optionalagent?: string

        Agent ID or name for direct message channel

      • Optionalconfig?: { [key: string]: unknown }
      • Optionaldirect?: boolean

        Indicates if this is a direct message channel

      • direction: "incoming" | "outgoing" | "both"
      • Optionalname?: string

        The channel name. Optional if this is a direct message channel.

    • AdapterConfig: {
          audioChannels?: {
              agent?: string;
              config?: { [key: string]: unknown };
              direct?: boolean;
              direction: "incoming" | "outgoing" | "both";
              name?: string;
          }[];
          chatChannels?: {
              agent?: string;
              config?: { [key: string]: unknown };
              direct?: boolean;
              direction: "incoming" | "outgoing" | "both";
              name?: string;
          }[];
          config?: { [key: string]: unknown };
          dmChannels?: {
              agent?: string;
              config?: { [key: string]: unknown };
              direct?: boolean;
              direction: "incoming" | "outgoing" | "both";
              name?: string;
          }[];
          type: string;
      }
    • Agent: {
          active?: boolean;
          agentConfig?: { [key: string]: unknown };
          agentEvaluation?: { action: 0 | 1 | 2 };
          agentType: string;
          conversation: string;
          conversationHistorySettings?: {
              channels?: string[];
              count?: number;
              directMessages?: boolean;
              endTime?: string;
              timeWindow?: number;
          };
          description: string;
          id?: string;
          instanceName?: string;
          lastActiveMessageCount?: number;
          llmModel: string;
          llmModelOptions?: { [key: string]: unknown };
          llmPlatform:
              | "openai"
              | "ollama"
              | "perspective"
              | "bedrock"
              | "vllm"
              | "google";
          llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
          llmTemplates?: { [key: string]: string };
          llmTemplateVars?: {
              [key: string]: { description?: string; name?: string }[];
          };
          name: string;
          pseudonyms: {
              active: boolean;
              conversations: string[];
              id?: string;
              isDeleted: boolean;
              pseudonym: string;
              token: string;
          }[];
          ragCollectionName?: string;
          triggers?: {
              periodic?: {
                  conversationHistorySettings?: {
                      channels?: string[];
                      count?: number;
                      directMessages?: boolean;
                      endTime?: string;
                      timeWindow?: number;
                  };
                  timerPeriod: number;
              };
              perMessage?: {
                  channels?: string[];
                  conversationHistorySettings?: {
                      channels?: string[];
                      count?: number;
                      directMessages?: boolean;
                      endTime?: string;
                      timeWindow?: number;
                  };
                  directMessages?: boolean;
                  minNewMessages?: number;
              };
          };
          useTranscriptRAGCollection?: boolean;
      }
      • Optionalactive?: boolean
      • OptionalagentConfig?: { [key: string]: unknown }
      • OptionalagentEvaluation?: { action: 0 | 1 | 2 }
        • action: 0 | 1 | 2

          Agent message action: 0=OK, 1=REJECT, 2=CONTRIBUTE

      • agentType: string
      • conversation: string

        Reference to Conversation ID

      • OptionalconversationHistorySettings?: {
            channels?: string[];
            count?: number;
            directMessages?: boolean;
            endTime?: string;
            timeWindow?: number;
        }
        • Optionalchannels?: string[]

          Array of non-direct channel names to include in history

        • Optionalcount?: number

          Max number of messages to include in conversation history

        • OptionaldirectMessages?: boolean

          Whether to include direct messages in history

        • OptionalendTime?: string

          Format: date-time

        • OptionaltimeWindow?: number

          Time window in seconds for conversation history

      • description: string
      • Optionalid?: string
      • OptionalinstanceName?: string
      • OptionallastActiveMessageCount?: number
      • llmModel: string
      • OptionalllmModelOptions?: { [key: string]: unknown }
      • llmPlatform: "openai" | "ollama" | "perspective" | "bedrock" | "vllm" | "google"
      • OptionalllmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean }
      • OptionalllmTemplates?: { [key: string]: string }
      • OptionalllmTemplateVars?: { [key: string]: { description?: string; name?: string }[] }
      • name: string
      • pseudonyms: {
            active: boolean;
            conversations: string[];
            id?: string;
            isDeleted: boolean;
            pseudonym: string;
            token: string;
        }[]
      • OptionalragCollectionName?: string
      • Optionaltriggers?: {
            periodic?: {
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                timerPeriod: number;
            };
            perMessage?: {
                channels?: string[];
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                directMessages?: boolean;
                minNewMessages?: number;
            };
        }
        • Optionalperiodic?: {
              conversationHistorySettings?: {
                  channels?: string[];
                  count?: number;
                  directMessages?: boolean;
                  endTime?: string;
                  timeWindow?: number;
              };
              timerPeriod: number;
          }
          • OptionalconversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            }
            • Optionalchannels?: string[]

              Array of non-direct channel names to include in history

            • Optionalcount?: number

              Max number of messages to include in conversation history

            • OptionaldirectMessages?: boolean

              Whether to include direct messages in history

            • OptionalendTime?: string

              Format: date-time

            • OptionaltimeWindow?: number

              Time window in seconds for conversation history

          • timerPeriod: number

            Timer period in seconds to trigger agent message processing

        • OptionalperMessage?: {
              channels?: string[];
              conversationHistorySettings?: {
                  channels?: string[];
                  count?: number;
                  directMessages?: boolean;
                  endTime?: string;
                  timeWindow?: number;
              };
              directMessages?: boolean;
              minNewMessages?: number;
          }
          • Optionalchannels?: string[]

            Array of channel names to monitor for messages

          • OptionalconversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            }
            • Optionalchannels?: string[]

              Array of non-direct channel names to include in history

            • Optionalcount?: number

              Max number of messages to include in conversation history

            • OptionaldirectMessages?: boolean

              Whether to include direct messages in history

            • OptionalendTime?: string

              Format: date-time

            • OptionaltimeWindow?: number

              Time window in seconds for conversation history

          • OptionaldirectMessages?: boolean

            Whether to trigger on direct messages

          • OptionalminNewMessages?: number

            Minimum number of new messages before triggering

      • OptionaluseTranscriptRAGCollection?: boolean
    • AgentConfig: { name: string; properties?: { [key: string]: unknown } }
    • AgentEvaluation: { action: 0 | 1 | 2 }
      • action: 0 | 1 | 2

        Agent message action: 0=OK, 1=REJECT, 2=CONTRIBUTE

    • AgentModification: {
          agent: {
              active?: boolean;
              agentConfig?: { [key: string]: unknown };
              agentEvaluation?: { action: 0 | 1 | 2 };
              agentType: string;
              conversation: string;
              conversationHistorySettings?: {
                  channels?: string[];
                  count?: number;
                  directMessages?: boolean;
                  endTime?: string;
                  timeWindow?: number;
              };
              description: string;
              id?: string;
              instanceName?: string;
              lastActiveMessageCount?: number;
              llmModel: string;
              llmModelOptions?: { [key: string]: unknown };
              llmPlatform:
                  | "openai"
                  | "ollama"
                  | "perspective"
                  | "bedrock"
                  | "vllm"
                  | "google";
              llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
              llmTemplates?: { [key: string]: string };
              llmTemplateVars?: {
                  [key: string]: { description?: string; name?: string }[];
              };
              name: string;
              pseudonyms: {
                  active: boolean;
                  conversations: string[];
                  id?: string;
                  isDeleted: boolean;
                  pseudonym: string;
                  token: string;
              }[];
              ragCollectionName?: string;
              triggers?: {
                  periodic?: {
                      conversationHistorySettings?: {
                          channels?: (...)[];
                          count?: number;
                          directMessages?: boolean;
                          endTime?: string;
                          timeWindow?: number;
                      };
                      timerPeriod: number;
                  };
                  perMessage?: {
                      channels?: string[];
                      conversationHistorySettings?: {
                          channels?: (...)[];
                          count?: number;
                          directMessages?: boolean;
                          endTime?: string;
                          timeWindow?: number;
                      };
                      directMessages?: boolean;
                      minNewMessages?: number;
                  };
              };
              useTranscriptRAGCollection?: boolean;
          };
          experimentValues?: { [key: string]: unknown };
          simulatedStartTime?: string;
      }
      • agent: {
            active?: boolean;
            agentConfig?: { [key: string]: unknown };
            agentEvaluation?: { action: 0 | 1 | 2 };
            agentType: string;
            conversation: string;
            conversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            };
            description: string;
            id?: string;
            instanceName?: string;
            lastActiveMessageCount?: number;
            llmModel: string;
            llmModelOptions?: { [key: string]: unknown };
            llmPlatform:
                | "openai"
                | "ollama"
                | "perspective"
                | "bedrock"
                | "vllm"
                | "google";
            llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
            llmTemplates?: { [key: string]: string };
            llmTemplateVars?: {
                [key: string]: { description?: string; name?: string }[];
            };
            name: string;
            pseudonyms: {
                active: boolean;
                conversations: string[];
                id?: string;
                isDeleted: boolean;
                pseudonym: string;
                token: string;
            }[];
            ragCollectionName?: string;
            triggers?: {
                periodic?: {
                    conversationHistorySettings?: {
                        channels?: (...)[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    timerPeriod: number;
                };
                perMessage?: {
                    channels?: string[];
                    conversationHistorySettings?: {
                        channels?: (...)[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    directMessages?: boolean;
                    minNewMessages?: number;
                };
            };
            useTranscriptRAGCollection?: boolean;
        }
        • Optionalactive?: boolean
        • OptionalagentConfig?: { [key: string]: unknown }
        • OptionalagentEvaluation?: { action: 0 | 1 | 2 }
          • action: 0 | 1 | 2

            Agent message action: 0=OK, 1=REJECT, 2=CONTRIBUTE

        • agentType: string
        • conversation: string

          Reference to Conversation ID

        • OptionalconversationHistorySettings?: {
              channels?: string[];
              count?: number;
              directMessages?: boolean;
              endTime?: string;
              timeWindow?: number;
          }
          • Optionalchannels?: string[]

            Array of non-direct channel names to include in history

          • Optionalcount?: number

            Max number of messages to include in conversation history

          • OptionaldirectMessages?: boolean

            Whether to include direct messages in history

          • OptionalendTime?: string

            Format: date-time

          • OptionaltimeWindow?: number

            Time window in seconds for conversation history

        • description: string
        • Optionalid?: string
        • OptionalinstanceName?: string
        • OptionallastActiveMessageCount?: number
        • llmModel: string
        • OptionalllmModelOptions?: { [key: string]: unknown }
        • llmPlatform: "openai" | "ollama" | "perspective" | "bedrock" | "vllm" | "google"
        • OptionalllmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean }
        • OptionalllmTemplates?: { [key: string]: string }
        • OptionalllmTemplateVars?: { [key: string]: { description?: string; name?: string }[] }
        • name: string
        • pseudonyms: {
              active: boolean;
              conversations: string[];
              id?: string;
              isDeleted: boolean;
              pseudonym: string;
              token: string;
          }[]
        • OptionalragCollectionName?: string
        • Optionaltriggers?: {
              periodic?: {
                  conversationHistorySettings?: {
                      channels?: (...)[];
                      count?: number;
                      directMessages?: boolean;
                      endTime?: string;
                      timeWindow?: number;
                  };
                  timerPeriod: number;
              };
              perMessage?: {
                  channels?: string[];
                  conversationHistorySettings?: {
                      channels?: (...)[];
                      count?: number;
                      directMessages?: boolean;
                      endTime?: string;
                      timeWindow?: number;
                  };
                  directMessages?: boolean;
                  minNewMessages?: number;
              };
          }
          • Optionalperiodic?: {
                conversationHistorySettings?: {
                    channels?: (...)[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                timerPeriod: number;
            }
            • OptionalconversationHistorySettings?: {
                  channels?: (...)[];
                  count?: number;
                  directMessages?: boolean;
                  endTime?: string;
                  timeWindow?: number;
              }
              • Optionalchannels?: (...)[]

                Array of non-direct channel names to include in history

              • Optionalcount?: number

                Max number of messages to include in conversation history

              • OptionaldirectMessages?: boolean

                Whether to include direct messages in history

              • OptionalendTime?: string

                Format: date-time

              • OptionaltimeWindow?: number

                Time window in seconds for conversation history

            • timerPeriod: number

              Timer period in seconds to trigger agent message processing

          • OptionalperMessage?: {
                channels?: string[];
                conversationHistorySettings?: {
                    channels?: (...)[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                directMessages?: boolean;
                minNewMessages?: number;
            }
            • Optionalchannels?: string[]

              Array of channel names to monitor for messages

            • OptionalconversationHistorySettings?: {
                  channels?: (...)[];
                  count?: number;
                  directMessages?: boolean;
                  endTime?: string;
                  timeWindow?: number;
              }
              • Optionalchannels?: (...)[]

                Array of non-direct channel names to include in history

              • Optionalcount?: number

                Max number of messages to include in conversation history

              • OptionaldirectMessages?: boolean

                Whether to include direct messages in history

              • OptionalendTime?: string

                Format: date-time

              • OptionaltimeWindow?: number

                Time window in seconds for conversation history

            • OptionaldirectMessages?: boolean

              Whether to trigger on direct messages

            • OptionalminNewMessages?: number

              Minimum number of new messages before triggering

        • OptionaluseTranscriptRAGCollection?: boolean
      • OptionalexperimentValues?: { [key: string]: unknown }

        Should match properties object of agentType

      • OptionalsimulatedStartTime?: string

        Format: date-time

        The Date of the earliest message considered in the periodic interval

    • AgentResponse: {
          channels?: {
              direct: boolean;
              id?: string;
              name: string;
              participants?: { id?: string }[];
              passcode: string | null;
          }[];
          context?: string;
          message: string
          | { [key: string]: unknown };
          messageType?: string;
          visible: boolean;
      }
    • AuthTokens: {
          access?: { expires?: string; token?: string };
          refresh?: { expires?: string; token?: string };
      }
      • Optionalaccess?: { expires?: string; token?: string }
        • Optionalexpires?: string

          Format: date-time

        • Optionaltoken?: string
      • Optionalrefresh?: { expires?: string; token?: string }
        • Optionalexpires?: string

          Format: date-time

        • Optionaltoken?: string
    • BaseUser: { id?: string }
    • Channel: {
          direct: boolean;
          id?: string;
          name: string;
          participants?: { id?: string }[];
          passcode: string | null;
      }
    • ChannelConfig: { direct?: boolean; name: string; passcode?: string | null }
    • Conversation: {
          active?: boolean;
          adapters: {
              active: boolean;
              audioChannels?: {
                  agent?: string;
                  config?: { [key: string]: unknown };
                  direct?: boolean;
                  direction: "incoming" | "outgoing" | "both";
                  name?: string;
              }[];
              chatChannels?: {
                  agent?: string;
                  config?: { [key: string]: unknown };
                  direct?: boolean;
                  direction: "incoming" | "outgoing" | "both";
                  name?: string;
              }[];
              config: { [key: string]: unknown };
              conversation: string;
              dmChannels?: {
                  agent?: string;
                  config?: { [key: string]: unknown };
                  direct?: boolean;
                  direction: "incoming" | "outgoing" | "both";
                  name?: string;
              }[];
              id?: string;
              type: string;
          }[];
          agents: {
              active?: boolean;
              agentConfig?: { [key: string]: unknown };
              agentEvaluation?: { action: 0 | 1 | 2 };
              agentType: string;
              conversation: string;
              conversationHistorySettings?: {
                  channels?: string[];
                  count?: number;
                  directMessages?: boolean;
                  endTime?: string;
                  timeWindow?: number;
              };
              description: string;
              id?: string;
              instanceName?: string;
              lastActiveMessageCount?: number;
              llmModel: string;
              llmModelOptions?: { [key: string]: unknown };
              llmPlatform:
                  | "openai"
                  | "ollama"
                  | "perspective"
                  | "bedrock"
                  | "vllm"
                  | "google";
              llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
              llmTemplates?: { [key: string]: string };
              llmTemplateVars?: {
                  [key: string]: { description?: string; name?: string }[];
              };
              name: string;
              pseudonyms: {
                  active: boolean;
                  conversations: string[];
                  id?: string;
                  isDeleted: boolean;
                  pseudonym: string;
                  token: string;
              }[];
              ragCollectionName?: string;
              triggers?: {
                  periodic?: {
                      conversationHistorySettings?: {
                          channels?: (...)
                          | (...);
                          count?: (...) | (...);
                          directMessages?: (...) | (...) | (...);
                          endTime?: (...) | (...);
                          timeWindow?: (...) | (...);
                      };
                      timerPeriod: number;
                  };
                  perMessage?: {
                      channels?: string[];
                      conversationHistorySettings?: {
                          channels?: (...)
                          | (...);
                          count?: (...) | (...);
                          directMessages?: (...) | (...) | (...);
                          endTime?: (...) | (...);
                          timeWindow?: (...) | (...);
                      };
                      directMessages?: boolean;
                      minNewMessages?: number;
                  };
              };
              useTranscriptRAGCollection?: boolean;
          }[];
          channels: {
              direct: boolean;
              id?: string;
              name: string;
              participants?: { id?: string }[];
              passcode: string | null;
          }[];
          conversationType?: string;
          createdAt?: string;
          enableAgents?: boolean;
          enableDMs: string[];
          endTime?: string;
          experimental?: boolean;
          experiments: {
              agentModifications?: {
                  agent: {
                      active?: boolean;
                      agentConfig?: { [key: string]: unknown };
                      agentEvaluation?: { action: (...) | (...) | (...) };
                      agentType: string;
                      conversation: string;
                      conversationHistorySettings?: {
                          channels?: (...) | (...);
                          count?: (...) | (...);
                          directMessages?: (...) | (...) | (...);
                          endTime?: (...) | (...);
                          timeWindow?: (...) | (...);
                      };
                      description: string;
                      id?: string;
                      instanceName?: string;
                      lastActiveMessageCount?: number;
                      llmModel: string;
                      llmModelOptions?: { [key: string]: unknown };
                      llmPlatform:
                          | "openai"
                          | "ollama"
                          | "perspective"
                          | "bedrock"
                          | "vllm"
                          | "google";
                      llmPlatformOptions?: { baseUrl?: (...)
                      | (...); useKeepAlive: boolean };
                      llmTemplates?: { [key: string]: string };
                      llmTemplateVars?: { [key: string]: (...)[] };
                      name: string;
                      pseudonyms: {
                          active: boolean;
                          conversations: (...)[];
                          id?: (...) | (...);
                          isDeleted: boolean;
                          pseudonym: string;
                          token: string;
                      }[];
                      ragCollectionName?: string;
                      triggers?: { periodic?: (...)
                      | (...); perMessage?: (...) | (...) };
                      useTranscriptRAGCollection?: boolean;
                  };
                  experimentValues?: { [key: string]: unknown };
                  simulatedStartTime?: string;
              }[];
              baseConversation: | string
              | (
                  { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
              );
              createdAt: string;
              createdBy: | string
              | {
                  dataExportOptOut?: boolean;
                  email?: string;
                  goodReputation?: boolean;
                  id?: string;
                  password: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  role?: string;
                  username: string;
              };
              description?: string;
              executedAt?: string;
              id?: string;
              name: string;
              resultConversation?: | string
              | (
                  { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
              );
              status: "running"
              | "completed"
              | "failed"
              | "not started";
          }[];
          followed?: boolean;
          followers: { conversation: string; topic: string; user: string }[];
          id?: string;
          locked?: boolean;
          messageCount?: number;
          messages: {
              active?: boolean;
              body: string | { [key: string]: unknown };
              bodyType?: string;
              channels?: string[];
              conversation: string;
              count?: number;
              createdAt?: string;
              downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
              fromAgent: boolean;
              id?: string;
              isDeleted?: boolean;
              owner?: string;
              parentMessage?: string;
              pause: boolean;
              prompt?: {
                  options?: { description?: string; label: string; value: string }[];
                  placeholder?: string;
                  type:
                      | "number"
                      | "text"
                      | "multipleChoice"
                      | "singleChoice"
                      | "date"
                      | "custom";
                  validation?: {
                      max?: number;
                      min?: number;
                      pattern?: string;
                      required?: boolean;
                  };
              };
              pseudonym: string;
              pseudonymId: string;
              replyCount?: number;
              source?: string;
              upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
              visible: boolean;
          }[];
          name: string;
          owner: | string
          | {
              dataExportOptOut?: boolean;
              email?: string;
              goodReputation?: boolean;
              id?: string;
              password: string;
              pseudonyms: {
                  active: boolean;
                  conversations: string[];
                  id?: string;
                  isDeleted: boolean;
                  pseudonym: string;
                  token: string;
              }[];
              role?: string;
              username: string;
          };
          platforms?: string[];
          scheduledTime?: string;
          slug?: string;
          startTime?: string;
          topic: | string
          | {
              archivable: boolean;
              archived?: boolean;
              archiveEmail?: string;
              conversationCount?: number;
              conversationCreationAllowed: boolean;
              conversations: (
                  { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
              )[];
              defaultSortAverage?: number;
              followed?: boolean;
              followers: { conversation: string; topic: string; user: string }[];
              id?: string;
              isArchiveNotified?: boolean;
              isDeleted?: boolean;
              latestMessageCreatedAt?: string;
              messageCount?: number;
              name: string;
              owner:
                  | string
                  | {
                      dataExportOptOut?: boolean;
                      email?: string;
                      goodReputation?: boolean;
                      id?: string;
                      password: string;
                      pseudonyms: {
                          active: boolean;
                          conversations: string[];
                          id?: string;
                          isDeleted: boolean;
                          pseudonym: string;
                          token: string;
                      }[];
                      role?: string;
                      username: string;
                  };
              passcode?: number;
              private: boolean;
              slug?: string;
              votingAllowed: boolean;
          };
          transcript?: {
              status: "active"
              | "paused"
              | "stopped";
              vectorStore?: {
                  embeddingsModelName?: string;
                  embeddingsPlatform?: string;
              };
          };
          updatedAt?: string;
      }
      • Optionalactive?: boolean
      • adapters: {
            active: boolean;
            audioChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            chatChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            config: { [key: string]: unknown };
            conversation: string;
            dmChannels?: {
                agent?: string;
                config?: { [key: string]: unknown };
                direct?: boolean;
                direction: "incoming" | "outgoing" | "both";
                name?: string;
            }[];
            id?: string;
            type: string;
        }[]
      • agents: {
            active?: boolean;
            agentConfig?: { [key: string]: unknown };
            agentEvaluation?: { action: 0 | 1 | 2 };
            agentType: string;
            conversation: string;
            conversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            };
            description: string;
            id?: string;
            instanceName?: string;
            lastActiveMessageCount?: number;
            llmModel: string;
            llmModelOptions?: { [key: string]: unknown };
            llmPlatform:
                | "openai"
                | "ollama"
                | "perspective"
                | "bedrock"
                | "vllm"
                | "google";
            llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
            llmTemplates?: { [key: string]: string };
            llmTemplateVars?: {
                [key: string]: { description?: string; name?: string }[];
            };
            name: string;
            pseudonyms: {
                active: boolean;
                conversations: string[];
                id?: string;
                isDeleted: boolean;
                pseudonym: string;
                token: string;
            }[];
            ragCollectionName?: string;
            triggers?: {
                periodic?: {
                    conversationHistorySettings?: {
                        channels?: (...)
                        | (...);
                        count?: (...) | (...);
                        directMessages?: (...) | (...) | (...);
                        endTime?: (...) | (...);
                        timeWindow?: (...) | (...);
                    };
                    timerPeriod: number;
                };
                perMessage?: {
                    channels?: string[];
                    conversationHistorySettings?: {
                        channels?: (...)
                        | (...);
                        count?: (...) | (...);
                        directMessages?: (...) | (...) | (...);
                        endTime?: (...) | (...);
                        timeWindow?: (...) | (...);
                    };
                    directMessages?: boolean;
                    minNewMessages?: number;
                };
            };
            useTranscriptRAGCollection?: boolean;
        }[]
      • channels: {
            direct: boolean;
            id?: string;
            name: string;
            participants?: { id?: string }[];
            passcode: string | null;
        }[]
      • OptionalconversationType?: string
      • OptionalcreatedAt?: string

        Format: date-time

      • OptionalenableAgents?: boolean
      • enableDMs: string[]
      • OptionalendTime?: string

        Format: date-time

      • Optionalexperimental?: boolean
      • experiments: {
            agentModifications?: {
                agent: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: (...) | (...) | (...) };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: (...) | (...);
                        count?: (...) | (...);
                        directMessages?: (...) | (...) | (...);
                        endTime?: (...) | (...);
                        timeWindow?: (...) | (...);
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: (...)
                    | (...); useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: { [key: string]: (...)[] };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: (...)[];
                        id?: (...) | (...);
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: { periodic?: (...)
                    | (...); perMessage?: (...) | (...) };
                    useTranscriptRAGCollection?: boolean;
                };
                experimentValues?: { [key: string]: unknown };
                simulatedStartTime?: string;
            }[];
            baseConversation: | string
            | (
                { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
            );
            createdAt: string;
            createdBy: | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            };
            description?: string;
            executedAt?: string;
            id?: string;
            name: string;
            resultConversation?: | string
            | (
                { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
            );
            status: "running"
            | "completed"
            | "failed"
            | "not started";
        }[]
      • Optionalfollowed?: boolean
      • followers: { conversation: string; topic: string; user: string }[]
      • Optionalid?: string
      • Optionallocked?: boolean
      • OptionalmessageCount?: number
      • messages: {
            active?: boolean;
            body: string | { [key: string]: unknown };
            bodyType?: string;
            channels?: string[];
            conversation: string;
            count?: number;
            createdAt?: string;
            downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
            fromAgent: boolean;
            id?: string;
            isDeleted?: boolean;
            owner?: string;
            parentMessage?: string;
            pause: boolean;
            prompt?: {
                options?: { description?: string; label: string; value: string }[];
                placeholder?: string;
                type:
                    | "number"
                    | "text"
                    | "multipleChoice"
                    | "singleChoice"
                    | "date"
                    | "custom";
                validation?: {
                    max?: number;
                    min?: number;
                    pattern?: string;
                    required?: boolean;
                };
            };
            pseudonym: string;
            pseudonymId: string;
            replyCount?: number;
            source?: string;
            upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
            visible: boolean;
        }[]
      • name: string
      • owner:
            | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            }
      • Optionalplatforms?: string[]
      • OptionalscheduledTime?: string

        Format: date-time

      • Optionalslug?: string
      • OptionalstartTime?: string

        Format: date-time

      • topic:
            | string
            | {
                archivable: boolean;
                archived?: boolean;
                archiveEmail?: string;
                conversationCount?: number;
                conversationCreationAllowed: boolean;
                conversations: (
                    { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                )[];
                defaultSortAverage?: number;
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                isArchiveNotified?: boolean;
                isDeleted?: boolean;
                latestMessageCreatedAt?: string;
                messageCount?: number;
                name: string;
                owner:
                    | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                passcode?: number;
                private: boolean;
                slug?: string;
                votingAllowed: boolean;
            }
      • Optionaltranscript?: {
            status: "active" | "paused" | "stopped";
            vectorStore?: { embeddingsModelName?: string; embeddingsPlatform?: string };
        }
        • status: "active" | "paused" | "stopped"
          stopped
          @enum {string}
        • OptionalvectorStore?: { embeddingsModelName?: string; embeddingsPlatform?: string }
      • OptionalupdatedAt?: string

        Format: date-time

    • ConversationHistory: {
          end: string;
          messages: {
              active?: boolean;
              body: string | { [key: string]: unknown };
              bodyType?: string;
              channels?: string[];
              conversation: string;
              count?: number;
              createdAt?: string;
              downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
              fromAgent: boolean;
              id?: string;
              isDeleted?: boolean;
              owner?: string;
              parentMessage?: string;
              pause: boolean;
              prompt?: {
                  options?: { description?: string; label: string; value: string }[];
                  placeholder?: string;
                  type:
                      | "number"
                      | "text"
                      | "multipleChoice"
                      | "singleChoice"
                      | "date"
                      | "custom";
                  validation?: {
                      max?: number;
                      min?: number;
                      pattern?: string;
                      required?: boolean;
                  };
              };
              pseudonym: string;
              pseudonymId: string;
              replyCount?: number;
              source?: string;
              upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
              visible: boolean;
          }[];
          start: string;
      }
      • end: string

        Format: date-time

      • messages: {
            active?: boolean;
            body: string | { [key: string]: unknown };
            bodyType?: string;
            channels?: string[];
            conversation: string;
            count?: number;
            createdAt?: string;
            downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
            fromAgent: boolean;
            id?: string;
            isDeleted?: boolean;
            owner?: string;
            parentMessage?: string;
            pause: boolean;
            prompt?: {
                options?: { description?: string; label: string; value: string }[];
                placeholder?: string;
                type:
                    | "number"
                    | "text"
                    | "multipleChoice"
                    | "singleChoice"
                    | "date"
                    | "custom";
                validation?: {
                    max?: number;
                    min?: number;
                    pattern?: string;
                    required?: boolean;
                };
            };
            pseudonym: string;
            pseudonymId: string;
            replyCount?: number;
            source?: string;
            upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
            visible: boolean;
        }[]
      • start: string

        Format: date-time

    • ConversationHistorySettings: {
          channels?: string[];
          count?: number;
          directMessages?: boolean;
          endTime?: string;
          timeWindow?: number;
      }
      • Optionalchannels?: string[]

        Array of non-direct channel names to include in history

      • Optionalcount?: number

        Max number of messages to include in conversation history

      • OptionaldirectMessages?: boolean

        Whether to include direct messages in history

      • OptionalendTime?: string

        Format: date-time

      • OptionaltimeWindow?: number

        Time window in seconds for conversation history

    • ConversationType: {
          adapters?: {
              [key: string]: {
                  audioChannels?: {
                      agent?: string;
                      config?: { [key: string]: unknown };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  chatChannels?: {
                      agent?: string;
                      config?: { [key: string]: unknown };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  config?: { [key: string]: unknown };
                  dmChannels?: {
                      agent?: string;
                      config?: { [key: string]: unknown };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  type: string;
              };
          };
          agents?: { name: string; properties?: { [key: string]: unknown } }[];
          channels?: { direct?: boolean; name: string; passcode?: string | null }[];
          description: string;
          enableDMs?: string[];
          label?: string;
          name: string;
          platforms: { label?: string; name: string }[];
          properties: {
              default?: string | number | boolean | Record<string, never>;
              description?: string;
              itemKey?: string;
              label?: string;
              name: string;
              options?: Record<string, never>[];
              required: boolean;
              schema?: Record<string, never>[];
              type: "string" | "number" | "boolean" | "object" | "enum";
              validationKeys?: string[];
          }[];
      }
    • ConversationTypeProperty: {
          default?: string | number | boolean | Record<string, never>;
          description?: string;
          itemKey?: string;
          label?: string;
          name: string;
          options?: Record<string, never>[];
          required: boolean;
          schema?: Record<string, never>[];
          type: "string" | "number" | "boolean" | "object" | "enum";
          validationKeys?: string[];
      }
    • Error: { code?: number; message?: string }
    • Experiment: {
          agentModifications?: {
              agent: {
                  active?: boolean;
                  agentConfig?: { [key: string]: unknown };
                  agentEvaluation?: { action: 0 | 1 | 2 };
                  agentType: string;
                  conversation: string;
                  conversationHistorySettings?: {
                      channels?: string[];
                      count?: number;
                      directMessages?: boolean;
                      endTime?: string;
                      timeWindow?: number;
                  };
                  description: string;
                  id?: string;
                  instanceName?: string;
                  lastActiveMessageCount?: number;
                  llmModel: string;
                  llmModelOptions?: { [key: string]: unknown };
                  llmPlatform:
                      | "openai"
                      | "ollama"
                      | "perspective"
                      | "bedrock"
                      | "vllm"
                      | "google";
                  llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                  llmTemplates?: { [key: string]: string };
                  llmTemplateVars?: {
                      [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                  };
                  name: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  ragCollectionName?: string;
                  triggers?: {
                      periodic?: {
                          conversationHistorySettings?: (...)
                          | (...);
                          timerPeriod: number;
                      };
                      perMessage?: {
                          channels?: (...)
                          | (...);
                          conversationHistorySettings?: (...) | (...);
                          directMessages?: (...) | (...) | (...);
                          minNewMessages?: (...) | (...);
                      };
                  };
                  useTranscriptRAGCollection?: boolean;
              };
              experimentValues?: { [key: string]: unknown };
              simulatedStartTime?: string;
          }[];
          baseConversation: | string
          | {
              active?: boolean;
              adapters: {
                  active: boolean;
                  audioChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  chatChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  config: { [key: string]: unknown };
                  conversation: string;
                  dmChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  id?: string;
                  type: string;
              }[];
              agents: {
                  active?: boolean;
                  agentConfig?: { [key: string]: unknown };
                  agentEvaluation?: { action: 0 | 1 | 2 };
                  agentType: string;
                  conversation: string;
                  conversationHistorySettings?: {
                      channels?: string[];
                      count?: number;
                      directMessages?: boolean;
                      endTime?: string;
                      timeWindow?: number;
                  };
                  description: string;
                  id?: string;
                  instanceName?: string;
                  lastActiveMessageCount?: number;
                  llmModel: string;
                  llmModelOptions?: { [key: string]: unknown };
                  llmPlatform:
                      | "openai"
                      | "ollama"
                      | "perspective"
                      | "bedrock"
                      | "vllm"
                      | "google";
                  llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                  llmTemplates?: { [key: string]: string };
                  llmTemplateVars?: {
                      [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                  };
                  name: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  ragCollectionName?: string;
                  triggers?: {
                      periodic?: {
                          conversationHistorySettings?: (...)
                          | (...);
                          timerPeriod: number;
                      };
                      perMessage?: {
                          channels?: (...)
                          | (...);
                          conversationHistorySettings?: (...) | (...);
                          directMessages?: (...) | (...) | (...);
                          minNewMessages?: (...) | (...);
                      };
                  };
                  useTranscriptRAGCollection?: boolean;
              }[];
              channels: {
                  direct: boolean;
                  id?: string;
                  name: string;
                  participants?: { id?: string }[];
                  passcode: string | null;
              }[];
              conversationType?: string;
              createdAt?: string;
              enableAgents?: boolean;
              enableDMs: string[];
              endTime?: string;
              experimental?: boolean;
              experiments: (
                  { id?: string | undefined; name: string; description?: string | undefined; baseConversation: string | { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; ... 18 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }; ... 5 more .....
              )[];
              followed?: boolean;
              followers: { conversation: string; topic: string; user: string }[];
              id?: string;
              locked?: boolean;
              messageCount?: number;
              messages: {
                  active?: boolean;
                  body: string | { [key: string]: unknown };
                  bodyType?: string;
                  channels?: string[];
                  conversation: string;
                  count?: number;
                  createdAt?: string;
                  downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                  fromAgent: boolean;
                  id?: string;
                  isDeleted?: boolean;
                  owner?: string;
                  parentMessage?: string;
                  pause: boolean;
                  prompt?: {
                      options?: { description?: ...; label: ...; value: ... }[];
                      placeholder?: string;
                      type:
                          | "number"
                          | "text"
                          | "multipleChoice"
                          | "singleChoice"
                          | "date"
                          | "custom";
                      validation?: {
                          max?: (...)
                          | (...);
                          min?: (...) | (...);
                          pattern?: (...) | (...);
                          required?: (...) | (...) | (...);
                      };
                  };
                  pseudonym: string;
                  pseudonymId: string;
                  replyCount?: number;
                  source?: string;
                  upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                  visible: boolean;
              }[];
              name: string;
              owner: | string
              | {
                  dataExportOptOut?: boolean;
                  email?: string;
                  goodReputation?: boolean;
                  id?: string;
                  password: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  role?: string;
                  username: string;
              };
              platforms?: string[];
              scheduledTime?: string;
              slug?: string;
              startTime?: string;
              topic: | string
              | {
                  archivable: boolean;
                  archived?: boolean;
                  archiveEmail?: string;
                  conversationCount?: number;
                  conversationCreationAllowed: boolean;
                  conversations: (
                      { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                  )[];
                  defaultSortAverage?: number;
                  followed?: boolean;
                  followers: { conversation: string; topic: string; user: string }[];
                  id?: string;
                  isArchiveNotified?: boolean;
                  isDeleted?: boolean;
                  latestMessageCreatedAt?: string;
                  messageCount?: number;
                  name: string;
                  owner:
                      | string
                      | {
                          dataExportOptOut?: boolean;
                          email?: string;
                          goodReputation?: boolean;
                          id?: string;
                          password: string;
                          pseudonyms: {
                              active: boolean;
                              conversations: (...)[];
                              id?: (...) | (...);
                              isDeleted: boolean;
                              pseudonym: string;
                              token: string;
                          }[];
                          role?: string;
                          username: string;
                      };
                  passcode?: number;
                  private: boolean;
                  slug?: string;
                  votingAllowed: boolean;
              };
              transcript?: {
                  status: "active"
                  | "paused"
                  | "stopped";
                  vectorStore?: {
                      embeddingsModelName?: string;
                      embeddingsPlatform?: string;
                  };
              };
              updatedAt?: string;
          };
          createdAt: string;
          createdBy: | string
          | {
              dataExportOptOut?: boolean;
              email?: string;
              goodReputation?: boolean;
              id?: string;
              password: string;
              pseudonyms: {
                  active: boolean;
                  conversations: string[];
                  id?: string;
                  isDeleted: boolean;
                  pseudonym: string;
                  token: string;
              }[];
              role?: string;
              username: string;
          };
          description?: string;
          executedAt?: string;
          id?: string;
          name: string;
          resultConversation?: | string
          | {
              active?: boolean;
              adapters: {
                  active: boolean;
                  audioChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  chatChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  config: { [key: string]: unknown };
                  conversation: string;
                  dmChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  id?: string;
                  type: string;
              }[];
              agents: {
                  active?: boolean;
                  agentConfig?: { [key: string]: unknown };
                  agentEvaluation?: { action: 0 | 1 | 2 };
                  agentType: string;
                  conversation: string;
                  conversationHistorySettings?: {
                      channels?: string[];
                      count?: number;
                      directMessages?: boolean;
                      endTime?: string;
                      timeWindow?: number;
                  };
                  description: string;
                  id?: string;
                  instanceName?: string;
                  lastActiveMessageCount?: number;
                  llmModel: string;
                  llmModelOptions?: { [key: string]: unknown };
                  llmPlatform:
                      | "openai"
                      | "ollama"
                      | "perspective"
                      | "bedrock"
                      | "vllm"
                      | "google";
                  llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                  llmTemplates?: { [key: string]: string };
                  llmTemplateVars?: {
                      [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                  };
                  name: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  ragCollectionName?: string;
                  triggers?: {
                      periodic?: {
                          conversationHistorySettings?: (...)
                          | (...);
                          timerPeriod: number;
                      };
                      perMessage?: {
                          channels?: (...)
                          | (...);
                          conversationHistorySettings?: (...) | (...);
                          directMessages?: (...) | (...) | (...);
                          minNewMessages?: (...) | (...);
                      };
                  };
                  useTranscriptRAGCollection?: boolean;
              }[];
              channels: {
                  direct: boolean;
                  id?: string;
                  name: string;
                  participants?: { id?: string }[];
                  passcode: string | null;
              }[];
              conversationType?: string;
              createdAt?: string;
              enableAgents?: boolean;
              enableDMs: string[];
              endTime?: string;
              experimental?: boolean;
              experiments: (
                  { id?: string | undefined; name: string; description?: string | undefined; baseConversation: string | { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; ... 18 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }; ... 5 more .....
              )[];
              followed?: boolean;
              followers: { conversation: string; topic: string; user: string }[];
              id?: string;
              locked?: boolean;
              messageCount?: number;
              messages: {
                  active?: boolean;
                  body: string | { [key: string]: unknown };
                  bodyType?: string;
                  channels?: string[];
                  conversation: string;
                  count?: number;
                  createdAt?: string;
                  downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                  fromAgent: boolean;
                  id?: string;
                  isDeleted?: boolean;
                  owner?: string;
                  parentMessage?: string;
                  pause: boolean;
                  prompt?: {
                      options?: { description?: ...; label: ...; value: ... }[];
                      placeholder?: string;
                      type:
                          | "number"
                          | "text"
                          | "multipleChoice"
                          | "singleChoice"
                          | "date"
                          | "custom";
                      validation?: {
                          max?: (...)
                          | (...);
                          min?: (...) | (...);
                          pattern?: (...) | (...);
                          required?: (...) | (...) | (...);
                      };
                  };
                  pseudonym: string;
                  pseudonymId: string;
                  replyCount?: number;
                  source?: string;
                  upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                  visible: boolean;
              }[];
              name: string;
              owner: | string
              | {
                  dataExportOptOut?: boolean;
                  email?: string;
                  goodReputation?: boolean;
                  id?: string;
                  password: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  role?: string;
                  username: string;
              };
              platforms?: string[];
              scheduledTime?: string;
              slug?: string;
              startTime?: string;
              topic: | string
              | {
                  archivable: boolean;
                  archived?: boolean;
                  archiveEmail?: string;
                  conversationCount?: number;
                  conversationCreationAllowed: boolean;
                  conversations: (
                      { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                  )[];
                  defaultSortAverage?: number;
                  followed?: boolean;
                  followers: { conversation: string; topic: string; user: string }[];
                  id?: string;
                  isArchiveNotified?: boolean;
                  isDeleted?: boolean;
                  latestMessageCreatedAt?: string;
                  messageCount?: number;
                  name: string;
                  owner:
                      | string
                      | {
                          dataExportOptOut?: boolean;
                          email?: string;
                          goodReputation?: boolean;
                          id?: string;
                          password: string;
                          pseudonyms: {
                              active: boolean;
                              conversations: (...)[];
                              id?: (...) | (...);
                              isDeleted: boolean;
                              pseudonym: string;
                              token: string;
                          }[];
                          role?: string;
                          username: string;
                      };
                  passcode?: number;
                  private: boolean;
                  slug?: string;
                  votingAllowed: boolean;
              };
              transcript?: {
                  status: "active"
                  | "paused"
                  | "stopped";
                  vectorStore?: {
                      embeddingsModelName?: string;
                      embeddingsPlatform?: string;
                  };
              };
              updatedAt?: string;
          };
          status: "running"
          | "completed"
          | "failed"
          | "not started";
      }
      • OptionalagentModifications?: {
            agent: {
                active?: boolean;
                agentConfig?: { [key: string]: unknown };
                agentEvaluation?: { action: 0 | 1 | 2 };
                agentType: string;
                conversation: string;
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                description: string;
                id?: string;
                instanceName?: string;
                lastActiveMessageCount?: number;
                llmModel: string;
                llmModelOptions?: { [key: string]: unknown };
                llmPlatform:
                    | "openai"
                    | "ollama"
                    | "perspective"
                    | "bedrock"
                    | "vllm"
                    | "google";
                llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                llmTemplates?: { [key: string]: string };
                llmTemplateVars?: {
                    [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                };
                name: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                ragCollectionName?: string;
                triggers?: {
                    periodic?: {
                        conversationHistorySettings?: (...)
                        | (...);
                        timerPeriod: number;
                    };
                    perMessage?: {
                        channels?: (...)
                        | (...);
                        conversationHistorySettings?: (...) | (...);
                        directMessages?: (...) | (...) | (...);
                        minNewMessages?: (...) | (...);
                    };
                };
                useTranscriptRAGCollection?: boolean;
            };
            experimentValues?: { [key: string]: unknown };
            simulatedStartTime?: string;
        }[]
      • baseConversation:
            | string
            | {
                active?: boolean;
                adapters: {
                    active: boolean;
                    audioChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    chatChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    config: { [key: string]: unknown };
                    conversation: string;
                    dmChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    id?: string;
                    type: string;
                }[];
                agents: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: 0 | 1 | 2 };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: {
                        [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                    };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: {
                        periodic?: {
                            conversationHistorySettings?: (...)
                            | (...);
                            timerPeriod: number;
                        };
                        perMessage?: {
                            channels?: (...)
                            | (...);
                            conversationHistorySettings?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            minNewMessages?: (...) | (...);
                        };
                    };
                    useTranscriptRAGCollection?: boolean;
                }[];
                channels: {
                    direct: boolean;
                    id?: string;
                    name: string;
                    participants?: { id?: string }[];
                    passcode: string | null;
                }[];
                conversationType?: string;
                createdAt?: string;
                enableAgents?: boolean;
                enableDMs: string[];
                endTime?: string;
                experimental?: boolean;
                experiments: (
                    { id?: string | undefined; name: string; description?: string | undefined; baseConversation: string | { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; ... 18 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }; ... 5 more .....
                )[];
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                locked?: boolean;
                messageCount?: number;
                messages: {
                    active?: boolean;
                    body: string | { [key: string]: unknown };
                    bodyType?: string;
                    channels?: string[];
                    conversation: string;
                    count?: number;
                    createdAt?: string;
                    downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    fromAgent: boolean;
                    id?: string;
                    isDeleted?: boolean;
                    owner?: string;
                    parentMessage?: string;
                    pause: boolean;
                    prompt?: {
                        options?: { description?: ...; label: ...; value: ... }[];
                        placeholder?: string;
                        type:
                            | "number"
                            | "text"
                            | "multipleChoice"
                            | "singleChoice"
                            | "date"
                            | "custom";
                        validation?: {
                            max?: (...)
                            | (...);
                            min?: (...) | (...);
                            pattern?: (...) | (...);
                            required?: (...) | (...) | (...);
                        };
                    };
                    pseudonym: string;
                    pseudonymId: string;
                    replyCount?: number;
                    source?: string;
                    upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    visible: boolean;
                }[];
                name: string;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                platforms?: string[];
                scheduledTime?: string;
                slug?: string;
                startTime?: string;
                topic: | string
                | {
                    archivable: boolean;
                    archived?: boolean;
                    archiveEmail?: string;
                    conversationCount?: number;
                    conversationCreationAllowed: boolean;
                    conversations: (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    )[];
                    defaultSortAverage?: number;
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    isArchiveNotified?: boolean;
                    isDeleted?: boolean;
                    latestMessageCreatedAt?: string;
                    messageCount?: number;
                    name: string;
                    owner:
                        | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                    passcode?: number;
                    private: boolean;
                    slug?: string;
                    votingAllowed: boolean;
                };
                transcript?: {
                    status: "active"
                    | "paused"
                    | "stopped";
                    vectorStore?: {
                        embeddingsModelName?: string;
                        embeddingsPlatform?: string;
                    };
                };
                updatedAt?: string;
            }
      • createdAt: string

        Format: date-time

      • createdBy:
            | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            }
      • Optionaldescription?: string
      • OptionalexecutedAt?: string

        Format: date-time

      • Optionalid?: string
      • name: string
      • OptionalresultConversation?:
            | string
            | {
                active?: boolean;
                adapters: {
                    active: boolean;
                    audioChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    chatChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    config: { [key: string]: unknown };
                    conversation: string;
                    dmChannels?: {
                        agent?: string;
                        config?: { [key: ...]: ... };
                        direct?: boolean;
                        direction: "incoming" | "outgoing" | "both";
                        name?: string;
                    }[];
                    id?: string;
                    type: string;
                }[];
                agents: {
                    active?: boolean;
                    agentConfig?: { [key: string]: unknown };
                    agentEvaluation?: { action: 0 | 1 | 2 };
                    agentType: string;
                    conversation: string;
                    conversationHistorySettings?: {
                        channels?: string[];
                        count?: number;
                        directMessages?: boolean;
                        endTime?: string;
                        timeWindow?: number;
                    };
                    description: string;
                    id?: string;
                    instanceName?: string;
                    lastActiveMessageCount?: number;
                    llmModel: string;
                    llmModelOptions?: { [key: string]: unknown };
                    llmPlatform:
                        | "openai"
                        | "ollama"
                        | "perspective"
                        | "bedrock"
                        | "vllm"
                        | "google";
                    llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                    llmTemplates?: { [key: string]: string };
                    llmTemplateVars?: {
                        [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                    };
                    name: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    ragCollectionName?: string;
                    triggers?: {
                        periodic?: {
                            conversationHistorySettings?: (...)
                            | (...);
                            timerPeriod: number;
                        };
                        perMessage?: {
                            channels?: (...)
                            | (...);
                            conversationHistorySettings?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            minNewMessages?: (...) | (...);
                        };
                    };
                    useTranscriptRAGCollection?: boolean;
                }[];
                channels: {
                    direct: boolean;
                    id?: string;
                    name: string;
                    participants?: { id?: string }[];
                    passcode: string | null;
                }[];
                conversationType?: string;
                createdAt?: string;
                enableAgents?: boolean;
                enableDMs: string[];
                endTime?: string;
                experimental?: boolean;
                experiments: (
                    { id?: string | undefined; name: string; description?: string | undefined; baseConversation: string | { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; ... 18 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }; ... 5 more .....
                )[];
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                locked?: boolean;
                messageCount?: number;
                messages: {
                    active?: boolean;
                    body: string | { [key: string]: unknown };
                    bodyType?: string;
                    channels?: string[];
                    conversation: string;
                    count?: number;
                    createdAt?: string;
                    downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    fromAgent: boolean;
                    id?: string;
                    isDeleted?: boolean;
                    owner?: string;
                    parentMessage?: string;
                    pause: boolean;
                    prompt?: {
                        options?: { description?: ...; label: ...; value: ... }[];
                        placeholder?: string;
                        type:
                            | "number"
                            | "text"
                            | "multipleChoice"
                            | "singleChoice"
                            | "date"
                            | "custom";
                        validation?: {
                            max?: (...)
                            | (...);
                            min?: (...) | (...);
                            pattern?: (...) | (...);
                            required?: (...) | (...) | (...);
                        };
                    };
                    pseudonym: string;
                    pseudonymId: string;
                    replyCount?: number;
                    source?: string;
                    upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                    visible: boolean;
                }[];
                name: string;
                owner: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: string[];
                        id?: string;
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                platforms?: string[];
                scheduledTime?: string;
                slug?: string;
                startTime?: string;
                topic: | string
                | {
                    archivable: boolean;
                    archived?: boolean;
                    archiveEmail?: string;
                    conversationCount?: number;
                    conversationCreationAllowed: boolean;
                    conversations: (
                        { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                    )[];
                    defaultSortAverage?: number;
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    isArchiveNotified?: boolean;
                    isDeleted?: boolean;
                    latestMessageCreatedAt?: string;
                    messageCount?: number;
                    name: string;
                    owner:
                        | string
                        | {
                            dataExportOptOut?: boolean;
                            email?: string;
                            goodReputation?: boolean;
                            id?: string;
                            password: string;
                            pseudonyms: {
                                active: boolean;
                                conversations: (...)[];
                                id?: (...) | (...);
                                isDeleted: boolean;
                                pseudonym: string;
                                token: string;
                            }[];
                            role?: string;
                            username: string;
                        };
                    passcode?: number;
                    private: boolean;
                    slug?: string;
                    votingAllowed: boolean;
                };
                transcript?: {
                    status: "active"
                    | "paused"
                    | "stopped";
                    vectorStore?: {
                        embeddingsModelName?: string;
                        embeddingsPlatform?: string;
                    };
                };
                updatedAt?: string;
            }
      • status: "running" | "completed" | "failed" | "not started"
    • Follower: { conversation: string; topic: string; user: string }
      • conversation: string

        Reference to Conversation ID

      • topic: string

        Reference to Topic ID

      • user: string

        Reference to User ID

    • GenericAgentAnswer: {
          action: 0 | 1 | 2;
          channels: string[];
          explanation: string;
          message: string | { [key: string]: unknown };
          visible: boolean;
      }
    • LlmModelDetails: {
          defaultModelOptions?: { [key: string]: unknown };
          description: string;
          label: string;
          llmModel: string;
          llmPlatform: string;
          name: string;
      }
    • LlmPlatformDetails: {
          description: string;
          name: string;
          options?: { baseUrl?: string; useKeepAlive: boolean };
      }
    • LlmPlatformOptions: { baseUrl?: string; useKeepAlive: boolean }
    • Message: {
          active?: boolean;
          body: string | { [key: string]: unknown };
          bodyType?: string;
          channels?: string[];
          conversation: string;
          count?: number;
          createdAt?: string;
          downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
          fromAgent: boolean;
          id?: string;
          isDeleted?: boolean;
          owner?: string;
          parentMessage?: string;
          pause: boolean;
          prompt?: {
              options?: { description?: string; label: string; value: string }[];
              placeholder?: string;
              type:
                  | "number"
                  | "text"
                  | "multipleChoice"
                  | "singleChoice"
                  | "date"
                  | "custom";
              validation?: {
                  max?: number;
                  min?: number;
                  pattern?: string;
                  required?: boolean;
              };
          };
          pseudonym: string;
          pseudonymId: string;
          replyCount?: number;
          source?: string;
          upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
          visible: boolean;
      }
      • Optionalactive?: boolean
      • body: string | { [key: string]: unknown }
      • OptionalbodyType?: string
      • Optionalchannels?: string[]
      • conversation: string

        Reference to Conversation ID

      • Optionalcount?: number
      • OptionalcreatedAt?: string

        Format: date-time

      • downVotes: { owner?: string; pseudonym?: string; reason?: string }[]
      • fromAgent: boolean
      • Optionalid?: string
      • OptionalisDeleted?: boolean
      • Optionalowner?: string

        Reference to User ID

      • OptionalparentMessage?: string

        Reference to parent Message ID

      • pause: boolean
      • Optionalprompt?: {
            options?: { description?: string; label: string; value: string }[];
            placeholder?: string;
            type:
                | "number"
                | "text"
                | "multipleChoice"
                | "singleChoice"
                | "date"
                | "custom";
            validation?: {
                max?: number;
                min?: number;
                pattern?: string;
                required?: boolean;
            };
        }
      • pseudonym: string
      • pseudonymId: string
      • OptionalreplyCount?: number
      • Optionalsource?: string
      • upVotes: { owner?: string; pseudonym?: string; reason?: string }[]
      • visible: boolean
    • MessagePrompt: {
          options?: { description?: string; label: string; value: string }[];
          placeholder?: string;
          type:
              | "number"
              | "text"
              | "multipleChoice"
              | "singleChoice"
              | "date"
              | "custom";
          validation?: {
              max?: number;
              min?: number;
              pattern?: string;
              required?: boolean;
          };
      }
    • PaginateResults: {
          limit: number;
          page: number;
          results: Record<string, never>[];
          totalPages: number;
          totalResults: number;
      }
    • PeriodicTrigger: {
          conversationHistorySettings?: {
              channels?: string[];
              count?: number;
              directMessages?: boolean;
              endTime?: string;
              timeWindow?: number;
          };
          timerPeriod: number;
      }
      • OptionalconversationHistorySettings?: {
            channels?: string[];
            count?: number;
            directMessages?: boolean;
            endTime?: string;
            timeWindow?: number;
        }
        • Optionalchannels?: string[]

          Array of non-direct channel names to include in history

        • Optionalcount?: number

          Max number of messages to include in conversation history

        • OptionaldirectMessages?: boolean

          Whether to include direct messages in history

        • OptionalendTime?: string

          Format: date-time

        • OptionaltimeWindow?: number

          Time window in seconds for conversation history

      • timerPeriod: number

        Timer period in seconds to trigger agent message processing

    • PerMessageTrigger: {
          channels?: string[];
          conversationHistorySettings?: {
              channels?: string[];
              count?: number;
              directMessages?: boolean;
              endTime?: string;
              timeWindow?: number;
          };
          directMessages?: boolean;
          minNewMessages?: number;
      }
      • Optionalchannels?: string[]

        Array of channel names to monitor for messages

      • OptionalconversationHistorySettings?: {
            channels?: string[];
            count?: number;
            directMessages?: boolean;
            endTime?: string;
            timeWindow?: number;
        }
        • Optionalchannels?: string[]

          Array of non-direct channel names to include in history

        • Optionalcount?: number

          Max number of messages to include in conversation history

        • OptionaldirectMessages?: boolean

          Whether to include direct messages in history

        • OptionalendTime?: string

          Format: date-time

        • OptionaltimeWindow?: number

          Time window in seconds for conversation history

      • OptionaldirectMessages?: boolean

        Whether to trigger on direct messages

      • OptionalminNewMessages?: number

        Minimum number of new messages before triggering

    • PlatformConfig: { label?: string; name: string }
    • Poll: {
          allowNewChoices: boolean;
          choices?: {
              id?: string;
              poll:
                  | string
                  | (
                      { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; username: string; email?: string | undefined; ... 4 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: { ...; }[] | undefined; }
                  );
              text: string;
          }[];
          choicesVisible: boolean;
          description?: string;
          expirationDate?: string;
          id?: string;
          locked: boolean;
          multiSelect: boolean;
          onlyOwnChoicesVisible: boolean;
          owner: | string
          | {
              dataExportOptOut?: boolean;
              email?: string;
              goodReputation?: boolean;
              id?: string;
              password: string;
              pseudonyms: {
                  active: boolean;
                  conversations: string[];
                  id?: string;
                  isDeleted: boolean;
                  pseudonym: string;
                  token: string;
              }[];
              role?: string;
              username: string;
          };
          responseCountsVisible: boolean;
          responsesVisible: boolean;
          responsesVisibleToNonParticipants: boolean;
          slug: string;
          threshold?: number;
          title: string;
          topic: | string
          | {
              archivable: boolean;
              archived?: boolean;
              archiveEmail?: string;
              conversationCount?: number;
              conversationCreationAllowed: boolean;
              conversations: {
                  active?: boolean;
                  adapters: {
                      active: boolean;
                      audioChannels?: {
                          agent?: ...;
                          config?: ...;
                          direct?: ...;
                          direction: ...;
                          name?: ...;
                      }[];
                      chatChannels?: {
                          agent?: ...;
                          config?: ...;
                          direct?: ...;
                          direction: ...;
                          name?: ...;
                      }[];
                      config: { [key: string]: unknown };
                      conversation: string;
                      dmChannels?: {
                          agent?: ...;
                          config?: ...;
                          direct?: ...;
                          direction: ...;
                          name?: ...;
                      }[];
                      id?: string;
                      type: string;
                  }[];
                  agents: {
                      active?: boolean;
                      agentConfig?: { [key: string]: unknown };
                      agentEvaluation?: { action: (...) | (...) | (...) };
                      agentType: string;
                      conversation: string;
                      conversationHistorySettings?: {
                          channels?: (...) | (...);
                          count?: (...) | (...);
                          directMessages?: (...) | (...) | (...);
                          endTime?: (...) | (...);
                          timeWindow?: (...) | (...);
                      };
                      description: string;
                      id?: string;
                      instanceName?: string;
                      lastActiveMessageCount?: number;
                      llmModel: string;
                      llmModelOptions?: { [key: string]: unknown };
                      llmPlatform:
                          | "openai"
                          | "ollama"
                          | "perspective"
                          | "bedrock"
                          | "vllm"
                          | "google";
                      llmPlatformOptions?: { baseUrl?: (...)
                      | (...); useKeepAlive: boolean };
                      llmTemplates?: { [key: string]: string };
                      llmTemplateVars?: { [key: string]: (...)[] };
                      name: string;
                      pseudonyms: {
                          active: boolean;
                          conversations: (...)[];
                          id?: (...) | (...);
                          isDeleted: boolean;
                          pseudonym: string;
                          token: string;
                      }[];
                      ragCollectionName?: string;
                      triggers?: { periodic?: (...)
                      | (...); perMessage?: (...) | (...) };
                      useTranscriptRAGCollection?: boolean;
                  }[];
                  channels: {
                      direct: boolean;
                      id?: string;
                      name: string;
                      participants?: { id?: ... }[];
                      passcode: string | null;
                  }[];
                  conversationType?: string;
                  createdAt?: string;
                  enableAgents?: boolean;
                  enableDMs: string[];
                  endTime?: string;
                  experimental?: boolean;
                  experiments: {
                      agentModifications?: {
                          agent: ...;
                          experimentValues?: ...;
                          simulatedStartTime?: ...;
                      }[];
                      baseConversation: | string
                      | (
                          { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                      );
                      createdAt: string;
                      createdBy: | string
                      | {
                          dataExportOptOut?: (...)
                          | (...)
                          | (...);
                          email?: (...) | (...);
                          goodReputation?: (...) | (...) | (...);
                          id?: (...) | (...);
                          password: string;
                          pseudonyms: (...)[];
                          role?: (...) | (...);
                          username: string;
                      };
                      description?: string;
                      executedAt?: string;
                      id?: string;
                      name: string;
                      resultConversation?: | string
                      | (
                          { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                      );
                      status: "running"
                      | "completed"
                      | "failed"
                      | "not started";
                  }[];
                  followed?: boolean;
                  followers: { conversation: string; topic: string; user: string }[];
                  id?: string;
                  locked?: boolean;
                  messageCount?: number;
                  messages: {
                      active?: boolean;
                      body: string | { [key: string]: unknown };
                      bodyType?: string;
                      channels?: string[];
                      conversation: string;
                      count?: number;
                      createdAt?: string;
                      downVotes: {
                          owner?: (...) | (...);
                          pseudonym?: (...) | (...);
                          reason?: (...) | (...);
                      }[];
                      fromAgent: boolean;
                      id?: string;
                      isDeleted?: boolean;
                      owner?: string;
                      parentMessage?: string;
                      pause: boolean;
                      prompt?: {
                          options?: (...)
                          | (...);
                          placeholder?: (...) | (...);
                          type: (...) | (...) | (...) | (...) | (...) | (...);
                          validation?: (...) | (...);
                      };
                      pseudonym: string;
                      pseudonymId: string;
                      replyCount?: number;
                      source?: string;
                      upVotes: {
                          owner?: (...)
                          | (...);
                          pseudonym?: (...) | (...);
                          reason?: (...) | (...);
                      }[];
                      visible: boolean;
                  }[];
                  name: string;
                  owner: | string
                  | {
                      dataExportOptOut?: boolean;
                      email?: string;
                      goodReputation?: boolean;
                      id?: string;
                      password: string;
                      pseudonyms: {
                          active: boolean;
                          conversations: (...)[];
                          id?: (...) | (...);
                          isDeleted: boolean;
                          pseudonym: string;
                          token: string;
                      }[];
                      role?: string;
                      username: string;
                  };
                  platforms?: string[];
                  scheduledTime?: string;
                  slug?: string;
                  startTime?: string;
                  topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                  transcript?: {
                      status: "active"
                      | "paused"
                      | "stopped";
                      vectorStore?: {
                          embeddingsModelName?: (...) | (...);
                          embeddingsPlatform?: (...) | (...);
                      };
                  };
                  updatedAt?: string;
              }[];
              defaultSortAverage?: number;
              followed?: boolean;
              followers: { conversation: string; topic: string; user: string }[];
              id?: string;
              isArchiveNotified?: boolean;
              isDeleted?: boolean;
              latestMessageCreatedAt?: string;
              messageCount?: number;
              name: string;
              owner:
                  | string
                  | {
                      dataExportOptOut?: boolean;
                      email?: string;
                      goodReputation?: boolean;
                      id?: string;
                      password: string;
                      pseudonyms: {
                          active: boolean;
                          conversations: string[];
                          id?: string;
                          isDeleted: boolean;
                          pseudonym: string;
                          token: string;
                      }[];
                      role?: string;
                      username: string;
                  };
              passcode?: number;
              private: boolean;
              slug?: string;
              votingAllowed: boolean;
          };
          whenResultsVisible: string;
      }
      • allowNewChoices: boolean
      • Optionalchoices?: {
            id?: string;
            poll:
                | string
                | (
                    { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; username: string; email?: string | undefined; ... 4 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: { ...; }[] | undefined; }
                );
            text: string;
        }[]
      • choicesVisible: boolean
      • Optionaldescription?: string
      • OptionalexpirationDate?: string

        Format: date-time

      • Optionalid?: string
      • locked: boolean
      • multiSelect: boolean
      • onlyOwnChoicesVisible: boolean
      • owner:
            | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            }
      • responseCountsVisible: boolean
      • responsesVisible: boolean
      • responsesVisibleToNonParticipants: boolean
      • slug: string
      • Optionalthreshold?: number
      • title: string
      • topic:
            | string
            | {
                archivable: boolean;
                archived?: boolean;
                archiveEmail?: string;
                conversationCount?: number;
                conversationCreationAllowed: boolean;
                conversations: {
                    active?: boolean;
                    adapters: {
                        active: boolean;
                        audioChannels?: {
                            agent?: ...;
                            config?: ...;
                            direct?: ...;
                            direction: ...;
                            name?: ...;
                        }[];
                        chatChannels?: {
                            agent?: ...;
                            config?: ...;
                            direct?: ...;
                            direction: ...;
                            name?: ...;
                        }[];
                        config: { [key: string]: unknown };
                        conversation: string;
                        dmChannels?: {
                            agent?: ...;
                            config?: ...;
                            direct?: ...;
                            direction: ...;
                            name?: ...;
                        }[];
                        id?: string;
                        type: string;
                    }[];
                    agents: {
                        active?: boolean;
                        agentConfig?: { [key: string]: unknown };
                        agentEvaluation?: { action: (...) | (...) | (...) };
                        agentType: string;
                        conversation: string;
                        conversationHistorySettings?: {
                            channels?: (...) | (...);
                            count?: (...) | (...);
                            directMessages?: (...) | (...) | (...);
                            endTime?: (...) | (...);
                            timeWindow?: (...) | (...);
                        };
                        description: string;
                        id?: string;
                        instanceName?: string;
                        lastActiveMessageCount?: number;
                        llmModel: string;
                        llmModelOptions?: { [key: string]: unknown };
                        llmPlatform:
                            | "openai"
                            | "ollama"
                            | "perspective"
                            | "bedrock"
                            | "vllm"
                            | "google";
                        llmPlatformOptions?: { baseUrl?: (...)
                        | (...); useKeepAlive: boolean };
                        llmTemplates?: { [key: string]: string };
                        llmTemplateVars?: { [key: string]: (...)[] };
                        name: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: (...)[];
                            id?: (...) | (...);
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        ragCollectionName?: string;
                        triggers?: { periodic?: (...)
                        | (...); perMessage?: (...) | (...) };
                        useTranscriptRAGCollection?: boolean;
                    }[];
                    channels: {
                        direct: boolean;
                        id?: string;
                        name: string;
                        participants?: { id?: ... }[];
                        passcode: string | null;
                    }[];
                    conversationType?: string;
                    createdAt?: string;
                    enableAgents?: boolean;
                    enableDMs: string[];
                    endTime?: string;
                    experimental?: boolean;
                    experiments: {
                        agentModifications?: {
                            agent: ...;
                            experimentValues?: ...;
                            simulatedStartTime?: ...;
                        }[];
                        baseConversation: | string
                        | (
                            { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                        );
                        createdAt: string;
                        createdBy: | string
                        | {
                            dataExportOptOut?: (...)
                            | (...)
                            | (...);
                            email?: (...) | (...);
                            goodReputation?: (...) | (...) | (...);
                            id?: (...) | (...);
                            password: string;
                            pseudonyms: (...)[];
                            role?: (...) | (...);
                            username: string;
                        };
                        description?: string;
                        executedAt?: string;
                        id?: string;
                        name: string;
                        resultConversation?: | string
                        | (
                            { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                        );
                        status: "running"
                        | "completed"
                        | "failed"
                        | "not started";
                    }[];
                    followed?: boolean;
                    followers: { conversation: string; topic: string; user: string }[];
                    id?: string;
                    locked?: boolean;
                    messageCount?: number;
                    messages: {
                        active?: boolean;
                        body: string | { [key: string]: unknown };
                        bodyType?: string;
                        channels?: string[];
                        conversation: string;
                        count?: number;
                        createdAt?: string;
                        downVotes: {
                            owner?: (...) | (...);
                            pseudonym?: (...) | (...);
                            reason?: (...) | (...);
                        }[];
                        fromAgent: boolean;
                        id?: string;
                        isDeleted?: boolean;
                        owner?: string;
                        parentMessage?: string;
                        pause: boolean;
                        prompt?: {
                            options?: (...)
                            | (...);
                            placeholder?: (...) | (...);
                            type: (...) | (...) | (...) | (...) | (...) | (...);
                            validation?: (...) | (...);
                        };
                        pseudonym: string;
                        pseudonymId: string;
                        replyCount?: number;
                        source?: string;
                        upVotes: {
                            owner?: (...)
                            | (...);
                            pseudonym?: (...) | (...);
                            reason?: (...) | (...);
                        }[];
                        visible: boolean;
                    }[];
                    name: string;
                    owner: | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: (...)[];
                            id?: (...) | (...);
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                    platforms?: string[];
                    scheduledTime?: string;
                    slug?: string;
                    startTime?: string;
                    topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                    transcript?: {
                        status: "active"
                        | "paused"
                        | "stopped";
                        vectorStore?: {
                            embeddingsModelName?: (...) | (...);
                            embeddingsPlatform?: (...) | (...);
                        };
                    };
                    updatedAt?: string;
                }[];
                defaultSortAverage?: number;
                followed?: boolean;
                followers: { conversation: string; topic: string; user: string }[];
                id?: string;
                isArchiveNotified?: boolean;
                isDeleted?: boolean;
                latestMessageCreatedAt?: string;
                messageCount?: number;
                name: string;
                owner:
                    | string
                    | {
                        dataExportOptOut?: boolean;
                        email?: string;
                        goodReputation?: boolean;
                        id?: string;
                        password: string;
                        pseudonyms: {
                            active: boolean;
                            conversations: string[];
                            id?: string;
                            isDeleted: boolean;
                            pseudonym: string;
                            token: string;
                        }[];
                        role?: string;
                        username: string;
                    };
                passcode?: number;
                private: boolean;
                slug?: string;
                votingAllowed: boolean;
            }
      • whenResultsVisible: string
    • PollChoice: {
          id?: string;
          poll:
              | string
              | {
                  allowNewChoices: boolean;
                  choices?: (
                      { id?: string | undefined; text: string; poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; ... 6 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: ...[] | undefined; }; }
                  )[];
                  choicesVisible: boolean;
                  description?: string;
                  expirationDate?: string;
                  id?: string;
                  locked: boolean;
                  multiSelect: boolean;
                  onlyOwnChoicesVisible: boolean;
                  owner: | string
                  | {
                      dataExportOptOut?: boolean;
                      email?: string;
                      goodReputation?: boolean;
                      id?: string;
                      password: string;
                      pseudonyms: {
                          active: boolean;
                          conversations: string[];
                          id?: string;
                          isDeleted: boolean;
                          pseudonym: string;
                          token: string;
                      }[];
                      role?: string;
                      username: string;
                  };
                  responseCountsVisible: boolean;
                  responsesVisible: boolean;
                  responsesVisibleToNonParticipants: boolean;
                  slug: string;
                  threshold?: number;
                  title: string;
                  topic: | string
                  | {
                      archivable: boolean;
                      archived?: boolean;
                      archiveEmail?: string;
                      conversationCount?: number;
                      conversationCreationAllowed: boolean;
                      conversations: {
                          active?: boolean;
                          adapters: {
                              active: boolean;
                              audioChannels?: (...)
                              | (...);
                              chatChannels?: (...) | (...);
                              config: { [key: ...]: ... };
                              conversation: string;
                              dmChannels?: (...) | (...);
                              id?: (...) | (...);
                              type: string;
                          }[];
                          agents: {
                              active?: (...)
                              | (...)
                              | (...);
                              agentConfig?: (...) | (...);
                              agentEvaluation?: (...) | (...);
                              agentType: string;
                              conversation: string;
                              conversationHistorySettings?: (...) | (...);
                              description: string;
                              id?: (...) | (...);
                              instanceName?: (...) | (...);
                              lastActiveMessageCount?: (...) | (...);
                              llmModel: string;
                              llmModelOptions?: (...) | (...);
                              llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                              llmPlatformOptions?: (...) | (...);
                              llmTemplates?: (...) | (...);
                              llmTemplateVars?: (...) | (...);
                              name: string;
                              pseudonyms: (...)[];
                              ragCollectionName?: (...) | (...);
                              triggers?: (...) | (...);
                              useTranscriptRAGCollection?: (...) | (...) | (...);
                          }[];
                          channels: {
                              direct: boolean;
                              id?: (...)
                              | (...);
                              name: string;
                              participants?: (...) | (...);
                              passcode: (...) | (...);
                          }[];
                          conversationType?: string;
                          createdAt?: string;
                          enableAgents?: boolean;
                          enableDMs: string[];
                          endTime?: string;
                          experimental?: boolean;
                          experiments: {
                              agentModifications?: (...)
                              | (...);
                              baseConversation: (...) | (...);
                              createdAt: string;
                              createdBy: (...) | (...);
                              description?: (...) | (...);
                              executedAt?: (...) | (...);
                              id?: (...) | (...);
                              name: string;
                              resultConversation?: (...) | (...) | (...);
                              status: (...) | (...) | (...) | (...);
                          }[];
                          followed?: boolean;
                          followers: { conversation: string; topic: string; user: string }[];
                          id?: string;
                          locked?: boolean;
                          messageCount?: number;
                          messages: {
                              active?: (...) | (...) | (...);
                              body: (...) | (...);
                              bodyType?: (...) | (...);
                              channels?: (...) | (...);
                              conversation: string;
                              count?: (...) | (...);
                              createdAt?: (...) | (...);
                              downVotes: (...)[];
                              fromAgent: boolean;
                              id?: (...) | (...);
                              isDeleted?: (...) | (...) | (...);
                              owner?: (...) | (...);
                              parentMessage?: (...) | (...);
                              pause: boolean;
                              prompt?: (...) | (...);
                              pseudonym: string;
                              pseudonymId: string;
                              replyCount?: (...) | (...);
                              source?: (...) | (...);
                              upVotes: (...)[];
                              visible: boolean;
                          }[];
                          name: string;
                          owner: | string
                          | {
                              dataExportOptOut?: (...)
                              | (...)
                              | (...);
                              email?: (...) | (...);
                              goodReputation?: (...) | (...) | (...);
                              id?: (...) | (...);
                              password: string;
                              pseudonyms: (...)[];
                              role?: (...) | (...);
                              username: string;
                          };
                          platforms?: string[];
                          scheduledTime?: string;
                          slug?: string;
                          startTime?: string;
                          topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                          transcript?: {
                              status: (...)
                              | (...)
                              | (...);
                              vectorStore?: (...) | (...);
                          };
                          updatedAt?: string;
                      }[];
                      defaultSortAverage?: number;
                      followed?: boolean;
                      followers: { conversation: string; topic: string; user: string }[];
                      id?: string;
                      isArchiveNotified?: boolean;
                      isDeleted?: boolean;
                      latestMessageCreatedAt?: string;
                      messageCount?: number;
                      name: string;
                      owner:
                          | string
                          | {
                              dataExportOptOut?: boolean;
                              email?: string;
                              goodReputation?: boolean;
                              id?: string;
                              password: string;
                              pseudonyms: {
                                  active: boolean;
                                  conversations: (...)[];
                                  id?: (...) | (...);
                                  isDeleted: boolean;
                                  pseudonym: string;
                                  token: string;
                              }[];
                              role?: string;
                              username: string;
                          };
                      passcode?: number;
                      private: boolean;
                      slug?: string;
                      votingAllowed: boolean;
                  };
                  whenResultsVisible: string;
              };
          text: string;
      }
    • PollResponse: {
          choice:
              | string
              | {
                  id?: string;
                  poll: | string
                  | {
                      allowNewChoices: boolean;
                      choices?: (
                          { id?: string | undefined; text: string; poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; ... 6 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: ...[] | undefined; }; }
                      )[];
                      choicesVisible: boolean;
                      description?: string;
                      expirationDate?: string;
                      id?: string;
                      locked: boolean;
                      multiSelect: boolean;
                      onlyOwnChoicesVisible: boolean;
                      owner: | string
                      | {
                          dataExportOptOut?: boolean;
                          email?: string;
                          goodReputation?: boolean;
                          id?: string;
                          password: string;
                          pseudonyms: {
                              active: boolean;
                              conversations: (...)[];
                              id?: (...) | (...);
                              isDeleted: boolean;
                              pseudonym: string;
                              token: string;
                          }[];
                          role?: string;
                          username: string;
                      };
                      responseCountsVisible: boolean;
                      responsesVisible: boolean;
                      responsesVisibleToNonParticipants: boolean;
                      slug: string;
                      threshold?: number;
                      title: string;
                      topic: | string
                      | {
                          archivable: boolean;
                          archived?: boolean;
                          archiveEmail?: string;
                          conversationCount?: number;
                          conversationCreationAllowed: boolean;
                          conversations: {
                              active?: (...)
                              | (...)
                              | (...);
                              adapters: (...)[];
                              agents: (...)[];
                              channels: (...)[];
                              conversationType?: (...) | (...);
                              createdAt?: (...) | (...);
                              enableAgents?: (...) | (...) | (...);
                              enableDMs: (...)[];
                              endTime?: (...) | (...);
                              experimental?: (...) | (...) | (...);
                              experiments: (...)[];
                              followed?: (...) | (...) | (...);
                              followers: (...)[];
                              id?: (...) | (...);
                              locked?: (...) | (...) | (...);
                              messageCount?: (...) | (...);
                              messages: (...)[];
                              name: string;
                              owner: (...) | (...);
                              platforms?: (...) | (...);
                              scheduledTime?: (...) | (...);
                              slug?: (...) | (...);
                              startTime?: (...) | (...);
                              topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                              transcript?: (...) | (...);
                              updatedAt?: (...) | (...);
                          }[];
                          defaultSortAverage?: number;
                          followed?: boolean;
                          followers: { conversation: string; topic: string; user: string }[];
                          id?: string;
                          isArchiveNotified?: boolean;
                          isDeleted?: boolean;
                          latestMessageCreatedAt?: string;
                          messageCount?: number;
                          name: string;
                          owner:
                              | string
                              | {
                                  dataExportOptOut?: (...)
                                  | (...)
                                  | (...);
                                  email?: (...) | (...);
                                  goodReputation?: (...) | (...) | (...);
                                  id?: (...) | (...);
                                  password: string;
                                  pseudonyms: (...)[];
                                  role?: (...) | (...);
                                  username: string;
                              };
                          passcode?: number;
                          private: boolean;
                          slug?: string;
                          votingAllowed: boolean;
                      };
                      whenResultsVisible: string;
                  };
                  text: string;
              };
          id?: string;
          owner: | string
          | {
              dataExportOptOut?: boolean;
              email?: string;
              goodReputation?: boolean;
              id?: string;
              password: string;
              pseudonyms: {
                  active: boolean;
                  conversations: string[];
                  id?: string;
                  isDeleted: boolean;
                  pseudonym: string;
                  token: string;
              }[];
              role?: string;
              username: string;
          };
          poll: | string
          | {
              allowNewChoices: boolean;
              choices?: {
                  id?: string;
                  poll: string | { id?: string | undefined; title: string; slug: string; description?: string | undefined; locked: boolean; owner: string | { id?: string | undefined; username: string; email?: string | undefined; ... 4 more ...; pseudonyms: { ...; }[]; }; ... 11 more ...; choices?: { ...; }[] | undefined; };
                  text: string;
              }[];
              choicesVisible: boolean;
              description?: string;
              expirationDate?: string;
              id?: string;
              locked: boolean;
              multiSelect: boolean;
              onlyOwnChoicesVisible: boolean;
              owner: | string
              | {
                  dataExportOptOut?: boolean;
                  email?: string;
                  goodReputation?: boolean;
                  id?: string;
                  password: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  role?: string;
                  username: string;
              };
              responseCountsVisible: boolean;
              responsesVisible: boolean;
              responsesVisibleToNonParticipants: boolean;
              slug: string;
              threshold?: number;
              title: string;
              topic: | string
              | {
                  archivable: boolean;
                  archived?: boolean;
                  archiveEmail?: string;
                  conversationCount?: number;
                  conversationCreationAllowed: boolean;
                  conversations: {
                      active?: boolean;
                      adapters: {
                          active: boolean;
                          audioChannels?: (...)
                          | (...);
                          chatChannels?: (...) | (...);
                          config: { [key: ...]: ... };
                          conversation: string;
                          dmChannels?: (...) | (...);
                          id?: (...) | (...);
                          type: string;
                      }[];
                      agents: {
                          active?: (...)
                          | (...)
                          | (...);
                          agentConfig?: (...) | (...);
                          agentEvaluation?: (...) | (...);
                          agentType: string;
                          conversation: string;
                          conversationHistorySettings?: (...) | (...);
                          description: string;
                          id?: (...) | (...);
                          instanceName?: (...) | (...);
                          lastActiveMessageCount?: (...) | (...);
                          llmModel: string;
                          llmModelOptions?: (...) | (...);
                          llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                          llmPlatformOptions?: (...) | (...);
                          llmTemplates?: (...) | (...);
                          llmTemplateVars?: (...) | (...);
                          name: string;
                          pseudonyms: (...)[];
                          ragCollectionName?: (...) | (...);
                          triggers?: (...) | (...);
                          useTranscriptRAGCollection?: (...) | (...) | (...);
                      }[];
                      channels: {
                          direct: boolean;
                          id?: (...)
                          | (...);
                          name: string;
                          participants?: (...) | (...);
                          passcode: (...) | (...);
                      }[];
                      conversationType?: string;
                      createdAt?: string;
                      enableAgents?: boolean;
                      enableDMs: string[];
                      endTime?: string;
                      experimental?: boolean;
                      experiments: {
                          agentModifications?: (...)
                          | (...);
                          baseConversation: (...) | (...);
                          createdAt: string;
                          createdBy: (...) | (...);
                          description?: (...) | (...);
                          executedAt?: (...) | (...);
                          id?: (...) | (...);
                          name: string;
                          resultConversation?: (...) | (...) | (...);
                          status: (...) | (...) | (...) | (...);
                      }[];
                      followed?: boolean;
                      followers: { conversation: string; topic: string; user: string }[];
                      id?: string;
                      locked?: boolean;
                      messageCount?: number;
                      messages: {
                          active?: (...) | (...) | (...);
                          body: (...) | (...);
                          bodyType?: (...) | (...);
                          channels?: (...) | (...);
                          conversation: string;
                          count?: (...) | (...);
                          createdAt?: (...) | (...);
                          downVotes: (...)[];
                          fromAgent: boolean;
                          id?: (...) | (...);
                          isDeleted?: (...) | (...) | (...);
                          owner?: (...) | (...);
                          parentMessage?: (...) | (...);
                          pause: boolean;
                          prompt?: (...) | (...);
                          pseudonym: string;
                          pseudonymId: string;
                          replyCount?: (...) | (...);
                          source?: (...) | (...);
                          upVotes: (...)[];
                          visible: boolean;
                      }[];
                      name: string;
                      owner: | string
                      | {
                          dataExportOptOut?: (...)
                          | (...)
                          | (...);
                          email?: (...) | (...);
                          goodReputation?: (...) | (...) | (...);
                          id?: (...) | (...);
                          password: string;
                          pseudonyms: (...)[];
                          role?: (...) | (...);
                          username: string;
                      };
                      platforms?: string[];
                      scheduledTime?: string;
                      slug?: string;
                      startTime?: string;
                      topic: string | { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; ... 24 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined; };
                      transcript?: {
                          status: (...)
                          | (...)
                          | (...);
                          vectorStore?: (...) | (...);
                      };
                      updatedAt?: string;
                  }[];
                  defaultSortAverage?: number;
                  followed?: boolean;
                  followers: { conversation: string; topic: string; user: string }[];
                  id?: string;
                  isArchiveNotified?: boolean;
                  isDeleted?: boolean;
                  latestMessageCreatedAt?: string;
                  messageCount?: number;
                  name: string;
                  owner:
                      | string
                      | {
                          dataExportOptOut?: boolean;
                          email?: string;
                          goodReputation?: boolean;
                          id?: string;
                          password: string;
                          pseudonyms: {
                              active: boolean;
                              conversations: (...)[];
                              id?: (...) | (...);
                              isDeleted: boolean;
                              pseudonym: string;
                              token: string;
                          }[];
                          role?: string;
                          username: string;
                      };
                  passcode?: number;
                  private: boolean;
                  slug?: string;
                  votingAllowed: boolean;
              };
              whenResultsVisible: string;
          };
          removed: boolean;
      }
    • PromptOption: { description?: string; label: string; value: string }
    • Pseudonym: {
          active: boolean;
          conversations: string[];
          id?: string;
          isDeleted: boolean;
          pseudonym: string;
          token: string;
      }
      • active: boolean
      • conversations: string[]

        Array of Conversation IDs

      • Optionalid?: string
      • isDeleted: boolean
      • pseudonym: string
      • token: string
    • Token: { expires?: string; token?: string }
      {
      * "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1ZWJhYzUzNDk1NGI1NDEzOTgwNmMxMTIiLCJpYXQiOjE1ODkyOTg0ODQsImV4cCI6MTU4OTMwMDI4NH0.m1U63blB0MLej_WfB7yC2FTMnCziif9X8yzwDEfJXAg",
      * "expires": "2020-05-12T16:18:04.793Z"
      * }
      • Optionalexpires?: string

        Format: date-time

      • Optionaltoken?: string
    • Topic: {
          archivable: boolean;
          archived?: boolean;
          archiveEmail?: string;
          conversationCount?: number;
          conversationCreationAllowed: boolean;
          conversations: {
              active?: boolean;
              adapters: {
                  active: boolean;
                  audioChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  chatChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  config: { [key: string]: unknown };
                  conversation: string;
                  dmChannels?: {
                      agent?: string;
                      config?: { [key: ...]: ... };
                      direct?: boolean;
                      direction: "incoming" | "outgoing" | "both";
                      name?: string;
                  }[];
                  id?: string;
                  type: string;
              }[];
              agents: {
                  active?: boolean;
                  agentConfig?: { [key: string]: unknown };
                  agentEvaluation?: { action: 0 | 1 | 2 };
                  agentType: string;
                  conversation: string;
                  conversationHistorySettings?: {
                      channels?: string[];
                      count?: number;
                      directMessages?: boolean;
                      endTime?: string;
                      timeWindow?: number;
                  };
                  description: string;
                  id?: string;
                  instanceName?: string;
                  lastActiveMessageCount?: number;
                  llmModel: string;
                  llmModelOptions?: { [key: string]: unknown };
                  llmPlatform:
                      | "openai"
                      | "ollama"
                      | "perspective"
                      | "bedrock"
                      | "vllm"
                      | "google";
                  llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                  llmTemplates?: { [key: string]: string };
                  llmTemplateVars?: {
                      [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                  };
                  name: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  ragCollectionName?: string;
                  triggers?: {
                      periodic?: {
                          conversationHistorySettings?: (...)
                          | (...);
                          timerPeriod: number;
                      };
                      perMessage?: {
                          channels?: (...)
                          | (...);
                          conversationHistorySettings?: (...) | (...);
                          directMessages?: (...) | (...) | (...);
                          minNewMessages?: (...) | (...);
                      };
                  };
                  useTranscriptRAGCollection?: boolean;
              }[];
              channels: {
                  direct: boolean;
                  id?: string;
                  name: string;
                  participants?: { id?: string }[];
                  passcode: string | null;
              }[];
              conversationType?: string;
              createdAt?: string;
              enableAgents?: boolean;
              enableDMs: string[];
              endTime?: string;
              experimental?: boolean;
              experiments: {
                  agentModifications?: {
                      agent: {
                          active?: (...)
                          | (...)
                          | (...);
                          agentConfig?: (...) | (...);
                          agentEvaluation?: (...) | (...);
                          agentType: string;
                          conversation: string;
                          conversationHistorySettings?: (...) | (...);
                          description: string;
                          id?: (...) | (...);
                          instanceName?: (...) | (...);
                          lastActiveMessageCount?: (...) | (...);
                          llmModel: string;
                          llmModelOptions?: (...) | (...);
                          llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                          llmPlatformOptions?: (...) | (...);
                          llmTemplates?: (...) | (...);
                          llmTemplateVars?: (...) | (...);
                          name: string;
                          pseudonyms: (...)[];
                          ragCollectionName?: (...) | (...);
                          triggers?: (...) | (...);
                          useTranscriptRAGCollection?: (...) | (...) | (...);
                      };
                      experimentValues?: { [key: ...]: ... };
                      simulatedStartTime?: string;
                  }[];
                  baseConversation: | string
                  | (
                      { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                  );
                  createdAt: string;
                  createdBy: | string
                  | {
                      dataExportOptOut?: boolean;
                      email?: string;
                      goodReputation?: boolean;
                      id?: string;
                      password: string;
                      pseudonyms: {
                          active: boolean;
                          conversations: (...)[];
                          id?: (...) | (...);
                          isDeleted: boolean;
                          pseudonym: string;
                          token: string;
                      }[];
                      role?: string;
                      username: string;
                  };
                  description?: string;
                  executedAt?: string;
                  id?: string;
                  name: string;
                  resultConversation?: | string
                  | (
                      { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                  );
                  status: "running"
                  | "completed"
                  | "failed"
                  | "not started";
              }[];
              followed?: boolean;
              followers: { conversation: string; topic: string; user: string }[];
              id?: string;
              locked?: boolean;
              messageCount?: number;
              messages: {
                  active?: boolean;
                  body: string | { [key: string]: unknown };
                  bodyType?: string;
                  channels?: string[];
                  conversation: string;
                  count?: number;
                  createdAt?: string;
                  downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                  fromAgent: boolean;
                  id?: string;
                  isDeleted?: boolean;
                  owner?: string;
                  parentMessage?: string;
                  pause: boolean;
                  prompt?: {
                      options?: { description?: ...; label: ...; value: ... }[];
                      placeholder?: string;
                      type:
                          | "number"
                          | "text"
                          | "multipleChoice"
                          | "singleChoice"
                          | "date"
                          | "custom";
                      validation?: {
                          max?: (...)
                          | (...);
                          min?: (...) | (...);
                          pattern?: (...) | (...);
                          required?: (...) | (...) | (...);
                      };
                  };
                  pseudonym: string;
                  pseudonymId: string;
                  replyCount?: number;
                  source?: string;
                  upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                  visible: boolean;
              }[];
              name: string;
              owner: | string
              | {
                  dataExportOptOut?: boolean;
                  email?: string;
                  goodReputation?: boolean;
                  id?: string;
                  password: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  role?: string;
                  username: string;
              };
              platforms?: string[];
              scheduledTime?: string;
              slug?: string;
              startTime?: string;
              topic: | string
              | (
                  { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; messages: { ...; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined...
              );
              transcript?: {
                  status: "active"
                  | "paused"
                  | "stopped";
                  vectorStore?: {
                      embeddingsModelName?: string;
                      embeddingsPlatform?: string;
                  };
              };
              updatedAt?: string;
          }[];
          defaultSortAverage?: number;
          followed?: boolean;
          followers: { conversation: string; topic: string; user: string }[];
          id?: string;
          isArchiveNotified?: boolean;
          isDeleted?: boolean;
          latestMessageCreatedAt?: string;
          messageCount?: number;
          name: string;
          owner:
              | string
              | {
                  dataExportOptOut?: boolean;
                  email?: string;
                  goodReputation?: boolean;
                  id?: string;
                  password: string;
                  pseudonyms: {
                      active: boolean;
                      conversations: string[];
                      id?: string;
                      isDeleted: boolean;
                      pseudonym: string;
                      token: string;
                  }[];
                  role?: string;
                  username: string;
              };
          passcode?: number;
          private: boolean;
          slug?: string;
          votingAllowed: boolean;
      }
      • archivable: boolean
      • Optionalarchived?: boolean
      • OptionalarchiveEmail?: string
      • OptionalconversationCount?: number
      • conversationCreationAllowed: boolean
      • conversations: {
            active?: boolean;
            adapters: {
                active: boolean;
                audioChannels?: {
                    agent?: string;
                    config?: { [key: ...]: ... };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                chatChannels?: {
                    agent?: string;
                    config?: { [key: ...]: ... };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                config: { [key: string]: unknown };
                conversation: string;
                dmChannels?: {
                    agent?: string;
                    config?: { [key: ...]: ... };
                    direct?: boolean;
                    direction: "incoming" | "outgoing" | "both";
                    name?: string;
                }[];
                id?: string;
                type: string;
            }[];
            agents: {
                active?: boolean;
                agentConfig?: { [key: string]: unknown };
                agentEvaluation?: { action: 0 | 1 | 2 };
                agentType: string;
                conversation: string;
                conversationHistorySettings?: {
                    channels?: string[];
                    count?: number;
                    directMessages?: boolean;
                    endTime?: string;
                    timeWindow?: number;
                };
                description: string;
                id?: string;
                instanceName?: string;
                lastActiveMessageCount?: number;
                llmModel: string;
                llmModelOptions?: { [key: string]: unknown };
                llmPlatform:
                    | "openai"
                    | "ollama"
                    | "perspective"
                    | "bedrock"
                    | "vllm"
                    | "google";
                llmPlatformOptions?: { baseUrl?: string; useKeepAlive: boolean };
                llmTemplates?: { [key: string]: string };
                llmTemplateVars?: {
                    [key: string]: { description?: (...) | (...); name?: (...) | (...) }[];
                };
                name: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                ragCollectionName?: string;
                triggers?: {
                    periodic?: {
                        conversationHistorySettings?: (...)
                        | (...);
                        timerPeriod: number;
                    };
                    perMessage?: {
                        channels?: (...)
                        | (...);
                        conversationHistorySettings?: (...) | (...);
                        directMessages?: (...) | (...) | (...);
                        minNewMessages?: (...) | (...);
                    };
                };
                useTranscriptRAGCollection?: boolean;
            }[];
            channels: {
                direct: boolean;
                id?: string;
                name: string;
                participants?: { id?: string }[];
                passcode: string | null;
            }[];
            conversationType?: string;
            createdAt?: string;
            enableAgents?: boolean;
            enableDMs: string[];
            endTime?: string;
            experimental?: boolean;
            experiments: {
                agentModifications?: {
                    agent: {
                        active?: (...)
                        | (...)
                        | (...);
                        agentConfig?: (...) | (...);
                        agentEvaluation?: (...) | (...);
                        agentType: string;
                        conversation: string;
                        conversationHistorySettings?: (...) | (...);
                        description: string;
                        id?: (...) | (...);
                        instanceName?: (...) | (...);
                        lastActiveMessageCount?: (...) | (...);
                        llmModel: string;
                        llmModelOptions?: (...) | (...);
                        llmPlatform: (...) | (...) | (...) | (...) | (...) | (...);
                        llmPlatformOptions?: (...) | (...);
                        llmTemplates?: (...) | (...);
                        llmTemplateVars?: (...) | (...);
                        name: string;
                        pseudonyms: (...)[];
                        ragCollectionName?: (...) | (...);
                        triggers?: (...) | (...);
                        useTranscriptRAGCollection?: (...) | (...) | (...);
                    };
                    experimentValues?: { [key: ...]: ... };
                    simulatedStartTime?: string;
                }[];
                baseConversation: | string
                | (
                    { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                );
                createdAt: string;
                createdBy: | string
                | {
                    dataExportOptOut?: boolean;
                    email?: string;
                    goodReputation?: boolean;
                    id?: string;
                    password: string;
                    pseudonyms: {
                        active: boolean;
                        conversations: (...)[];
                        id?: (...) | (...);
                        isDeleted: boolean;
                        pseudonym: string;
                        token: string;
                    }[];
                    role?: string;
                    username: string;
                };
                description?: string;
                executedAt?: string;
                id?: string;
                name: string;
                resultConversation?: | string
                | (
                    { id?: string | undefined; messages: { id?: string | undefined; owner?: string | undefined; body: string | { [key: string]: unknown; }; bodyType?: string | undefined; source?: string | undefined; ... 15 more ...; replyCount?: number | undefined; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }
                );
                status: "running"
                | "completed"
                | "failed"
                | "not started";
            }[];
            followed?: boolean;
            followers: { conversation: string; topic: string; user: string }[];
            id?: string;
            locked?: boolean;
            messageCount?: number;
            messages: {
                active?: boolean;
                body: string | { [key: string]: unknown };
                bodyType?: string;
                channels?: string[];
                conversation: string;
                count?: number;
                createdAt?: string;
                downVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                fromAgent: boolean;
                id?: string;
                isDeleted?: boolean;
                owner?: string;
                parentMessage?: string;
                pause: boolean;
                prompt?: {
                    options?: { description?: ...; label: ...; value: ... }[];
                    placeholder?: string;
                    type:
                        | "number"
                        | "text"
                        | "multipleChoice"
                        | "singleChoice"
                        | "date"
                        | "custom";
                    validation?: {
                        max?: (...)
                        | (...);
                        min?: (...) | (...);
                        pattern?: (...) | (...);
                        required?: (...) | (...) | (...);
                    };
                };
                pseudonym: string;
                pseudonymId: string;
                replyCount?: number;
                source?: string;
                upVotes: { owner?: string; pseudonym?: string; reason?: string }[];
                visible: boolean;
            }[];
            name: string;
            owner: | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            };
            platforms?: string[];
            scheduledTime?: string;
            slug?: string;
            startTime?: string;
            topic: | string
            | (
                { id?: string | undefined; slug?: string | undefined; name: string; defaultSortAverage?: number | undefined; followed?: boolean | undefined; conversations: { id?: string | undefined; messages: { ...; }[]; ... 23 more ...; transcript?: { ...; } | undefined; }[]; ... 13 more ...; conversationCount?: number | undefined...
            );
            transcript?: {
                status: "active"
                | "paused"
                | "stopped";
                vectorStore?: {
                    embeddingsModelName?: string;
                    embeddingsPlatform?: string;
                };
            };
            updatedAt?: string;
        }[]
      • OptionaldefaultSortAverage?: number
      • Optionalfollowed?: boolean
      • followers: { conversation: string; topic: string; user: string }[]
      • Optionalid?: string
      • OptionalisArchiveNotified?: boolean
      • OptionalisDeleted?: boolean
      • OptionallatestMessageCreatedAt?: string

        Format: date-time

      • OptionalmessageCount?: number
      • name: string
      • owner:
            | string
            | {
                dataExportOptOut?: boolean;
                email?: string;
                goodReputation?: boolean;
                id?: string;
                password: string;
                pseudonyms: {
                    active: boolean;
                    conversations: string[];
                    id?: string;
                    isDeleted: boolean;
                    pseudonym: string;
                    token: string;
                }[];
                role?: string;
                username: string;
            }
      • Optionalpasscode?: number
      • private: boolean
      • Optionalslug?: string
      • votingAllowed: boolean
    • Transcript: {
          status: "active" | "paused" | "stopped";
          vectorStore?: { embeddingsModelName?: string; embeddingsPlatform?: string };
      }
      • status: "active" | "paused" | "stopped"
        stopped
        @enum {string}
      • OptionalvectorStore?: { embeddingsModelName?: string; embeddingsPlatform?: string }
    • Triggers: {
          periodic?: {
              conversationHistorySettings?: {
                  channels?: string[];
                  count?: number;
                  directMessages?: boolean;
                  endTime?: string;
                  timeWindow?: number;
              };
              timerPeriod: number;
          };
          perMessage?: {
              channels?: string[];
              conversationHistorySettings?: {
                  channels?: string[];
                  count?: number;
                  directMessages?: boolean;
                  endTime?: string;
                  timeWindow?: number;
              };
              directMessages?: boolean;
              minNewMessages?: number;
          };
      }
      • Optionalperiodic?: {
            conversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            };
            timerPeriod: number;
        }
        • OptionalconversationHistorySettings?: {
              channels?: string[];
              count?: number;
              directMessages?: boolean;
              endTime?: string;
              timeWindow?: number;
          }
          • Optionalchannels?: string[]

            Array of non-direct channel names to include in history

          • Optionalcount?: number

            Max number of messages to include in conversation history

          • OptionaldirectMessages?: boolean

            Whether to include direct messages in history

          • OptionalendTime?: string

            Format: date-time

          • OptionaltimeWindow?: number

            Time window in seconds for conversation history

        • timerPeriod: number

          Timer period in seconds to trigger agent message processing

      • OptionalperMessage?: {
            channels?: string[];
            conversationHistorySettings?: {
                channels?: string[];
                count?: number;
                directMessages?: boolean;
                endTime?: string;
                timeWindow?: number;
            };
            directMessages?: boolean;
            minNewMessages?: number;
        }
        • Optionalchannels?: string[]

          Array of channel names to monitor for messages

        • OptionalconversationHistorySettings?: {
              channels?: string[];
              count?: number;
              directMessages?: boolean;
              endTime?: string;
              timeWindow?: number;
          }
          • Optionalchannels?: string[]

            Array of non-direct channel names to include in history

          • Optionalcount?: number

            Max number of messages to include in conversation history

          • OptionaldirectMessages?: boolean

            Whether to include direct messages in history

          • OptionalendTime?: string

            Format: date-time

          • OptionaltimeWindow?: number

            Time window in seconds for conversation history

        • OptionaldirectMessages?: boolean

          Whether to trigger on direct messages

        • OptionalminNewMessages?: number

          Minimum number of new messages before triggering

    • User: {
          dataExportOptOut?: boolean;
          email?: string;
          goodReputation?: boolean;
          id?: string;
          password: string;
          pseudonyms: {
              active: boolean;
              conversations: string[];
              id?: string;
              isDeleted: boolean;
              pseudonym: string;
              token: string;
          }[];
          role?: string;
          username: string;
      }
    • Vote: { owner?: string; pseudonym?: string; reason?: string }
      • Optionalowner?: string

        Reference to User ID

      • Optionalpseudonym?: string
      • Optionalreason?: string