import * as sdk from '@botpress/sdk'
import {
  configuration,
  configurations,
  identifier,
  channels,
  user,
  states,
  actions,
  events,
  secrets,
} from './definitions'

export const INTEGRATION_NAME = 'gmail'
export const INTEGRATION_VERSION = '1.0.7'

export default new sdk.IntegrationDefinition({
  name: INTEGRATION_NAME,
  version: INTEGRATION_VERSION,
  title: 'Gmail',
  description: "Send, receive, and manage emails directly within your bot's workflow.",
  icon: 'icon.svg',
  readme: 'hub.md',
  configuration,
  configurations,
  identifier,
  channels,
  user,
  actions,
  events,
  states,
  secrets,
  attributes: {
    category: 'Communication & Channels',
    guideSlug: 'gmail',
    repo: 'botpress',
  },
})
