15 lines
339 B
TypeScript
15 lines
339 B
TypeScript
import { reporting } from '@botpress/sdk-addons'
|
|
import actions from './actions'
|
|
import { register, unregister, channels, handler } from './setup'
|
|
import * as bp from '.botpress'
|
|
|
|
const integration = new bp.Integration({
|
|
register,
|
|
unregister,
|
|
actions,
|
|
channels,
|
|
handler,
|
|
})
|
|
|
|
export default reporting.wrapIntegration(integration)
|