import { IntegrationDefinition } from '@botpress/sdk'

import { INTEGRATION_NAME } from './src/const'
import { configuration, states, user, channels, actions } from './src/definitions'

export default new IntegrationDefinition({
  name: INTEGRATION_NAME,
  version: '0.3.14',
  title: 'Asana',
  readme: 'hub.md',
  description: 'Connect your bot to your Asana inbox, create and update tasks, add comments, and locate users.',
  icon: 'icon.svg',
  configuration,
  channels,
  user,
  actions,
  states,

  attributes: {
    category: 'Project Management',
    repo: 'botpress',
  },
})
