ChatBotKit Node SDK
    Preparing search index...

    Represents a solution.

    Index
    • Parameters

      • config: {
            resources: (
                | { id?: string; properties: {}; slug?: string; type: "blueprint" }
                | { id?: string; properties: {}; slug?: string; type: "bot" }
                | { id?: string; properties: {}; slug?: string; type: "dataset" }
                | { id?: string; properties: {}; slug?: string; type: "file" }
                | { id?: string; properties: {}; slug?: string; type: "space" }
                | { id?: string; properties: {}; slug?: string; type: "secret" }
                | { id?: string; properties: {}; slug?: string; type: "skillset" }
                | { id?: string; properties: {}; slug?: string; type: "task" }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "widgetIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "sitemapIntegration";
                }
                | { id?: string; properties: {}; slug?: string; type: "slackIntegration" }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "discordIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "telegramIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "whatsappIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "messengerIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "notionIntegration";
                }
                | { id?: string; properties: {}; slug?: string; type: "emailIntegration" }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "triggerIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "supportIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "extractIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "mcpserverIntegration";
                }
                | {
                    id?: string;
                    properties: {};
                    slug?: string;
                    type: "twilioIntegration";
                }
            )[];
            version: 1;
        }

      Returns Solution

    • Loads a solution from a configuration object or a file.

      Parameters

      • config:
            | string
            | {
                resources: (
                    | { id?: string; properties: {}; slug?: string; type: "blueprint" }
                    | { id?: string; properties: {}; slug?: string; type: "bot" }
                    | { id?: string; properties: {}; slug?: string; type: "dataset" }
                    | { id?: string; properties: {}; slug?: string; type: "file" }
                    | { id?: string; properties: {}; slug?: string; type: "space" }
                    | { id?: string; properties: {}; slug?: string; type: "secret" }
                    | { id?: string; properties: {}; slug?: string; type: "skillset" }
                    | { id?: string; properties: {}; slug?: string; type: "task" }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "widgetIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "sitemapIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "slackIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "discordIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "telegramIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "whatsappIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "messengerIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "notionIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "emailIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "triggerIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "supportIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "extractIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "mcpserverIntegration";
                    }
                    | {
                        id?: string;
                        properties: {};
                        slug?: string;
                        type: "twilioIntegration";
                    }
                )[];
                version: 1;
            }

      Returns Promise<Solution>