Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

createBotRevision

  • createBotRevision(botId: string): Promise<void>

exportBot

  • exportBot(botId: string): Promise<Buffer>

getAllBots

  • getAllBots(): Promise<Map<string, BotConfig>>

getBotById

  • getBotById(botId: string): Promise<BotConfig | undefined>

getBotTemplate

  • getBotTemplate(moduleName: string, templateName: string): Promise<FileContent[]>

importBot

  • importBot(botId: string, archive: Buffer, workspaceId: string, allowOverwrite?: boolean): Promise<void>
  • Parameters

    • botId: string
    • archive: Buffer
    • workspaceId: string
    • Optional allowOverwrite: boolean

    Returns Promise<void>

listBotRevisions

  • listBotRevisions(botId: string): Promise<string[]>

rollbackBotToRevision

  • rollbackBotToRevision(botId: string, revisionId: string): Promise<void>
  • Parameters

    • botId: string
    • revisionId: string

    Returns Promise<void>

Generated using TypeDoc