ChatBotKit Node SDK
    Preparing search index...

    Represents a resource.

    Hierarchy (View Summary)

    Index
    • Parameters

      • config:
            | { 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" }

      Returns Resource

    • get client(): {
          create: (properties: Record<string, any>) => Promise<{ id: string }>;
          update: (
              id: string,
              properties: Record<string, any>,
          ) => Promise<{ id: string }>;
      }

      Get the resource client.

      Returns {
          create: (properties: Record<string, any>) => Promise<{ id: string }>;
          update: (
              id: string,
              properties: Record<string, any>,
          ) => Promise<{ id: string }>;
      }